Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 28687

Sort Ascending in SemanticQuery SSRS Report Builder 3.0

$
0
0

I have a parameter linked to a dataset in report builder. I cant make a select query since i only have access to a Module. My problem is that Company Name is not sorted alphabetical. How can sort Ascending "Company Name" in the below SSRS Report Builder SemanticQuery

<SemanticQuery xmlns="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rb="http://schemas.microsoft.com/sqlserver/2004/11/reportbuilder" xmlns:qd="http://schemas.microsoft.com/sqlserver/2004/11/semanticquerydesign">

  <Hierarchies>

    <Hierarchy>

      <BaseEntity>

        <!--Dim Market-->

        <EntityID>G001cda75-6b40-4d6a-9a75-571ed5fb855e</EntityID>

      </BaseEntity>

      <Groupings>

        <Grouping Name="Dim Market">

          <Expression Name="Dim Market">

            <EntityRef>

              <!--Dim Market-->

              <EntityID>G001cda75-6b40-4d6a-9a75-571ed5fb855e</EntityID>

            </EntityRef>

          </Expression>

          <Details>

            <Expression Name="Company Name">

              <AttributeRef>

                <!--Company Name-->

                <AttributeID>G9a3c79a1-1e51-422b-95f6-37d5c1ece0d2</AttributeID>

              </AttributeRef>

            </Expression>

          </Details>

        </Grouping>

      </Groupings>

      <Filter>

        <Expression Name="filter">

          <Literal>

            <DataType>Boolean</DataType>

            <Value>true</Value>

          </Literal>

          <CustomProperties>

            <CustomProperty Name="qd:Filter" />

            <CustomProperty Name="qd:ContextEntityID">

              <Value xsi:type="xsd:string">G001cda75-6b40-4d6a-9a75-571ed5fb855e</Value>

            </CustomProperty>

            <CustomProperty Name="qd:AutoChangeBaseEntity" />

            <CustomProperty Name="qd:Design">

              <Value xsi:type="xsd:string">expr1</Value>

            </CustomProperty>

          </CustomProperties>

        </Expression>

      </Filter>

    </Hierarchy>

  </Hierarchies>

</SemanticQuery>


Viewing all articles
Browse latest Browse all 28687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>