<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to sort the rows in the mettrix by Measure values. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sort-the-rows-in-the-mettrix-by-Measure-values/m-p/3245870#M157218</link>
    <description>&lt;P&gt;Hi I am looking to sort the rows based on the rank values. i tried different methods suggested but not sure how to do a work around.&lt;/P&gt;&lt;P&gt;so..&lt;/P&gt;&lt;P&gt;I have a matrix visual has below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;rank by terrritory is measure based on the territory % value, it ranks the values from 100% to down.&lt;BR /&gt;rank by terrritory is working fine but i need the rank values to be sorted in Asc how can i do that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I created a Metrix based on the multiple measures in a single measure&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Metrix in rows and Columns in the Columns shelf are comming from the Custome table(MetrixTable) where the metris=x names and rowIDs are presenst&lt;BR /&gt;MetrixTable&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the "ALL Measure" is a measure where all the measures plased based on the Row ID of a Matrix table with a switch function like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Switch(&lt;/P&gt;&lt;P&gt;True(),&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Row ID ]&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,[RankByTerritory]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Row ID ]&lt;/SPAN&gt;&lt;SPAN&gt;) = 2&lt;/SPAN&gt;&lt;SPAN&gt;,[Territory]&lt;/SPAN&gt;&lt;BR /&gt;.........)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how can i sort the rank value in the metrix.....?&lt;BR /&gt;&lt;BR /&gt;Please respond&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 21 May 2023 11:03:35 GMT</pubDate>
    <dc:creator>Raghu561</dc:creator>
    <dc:date>2023-05-21T11:03:35Z</dc:date>
    <item>
      <title>How to sort the rows in the mettrix by Measure values.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sort-the-rows-in-the-mettrix-by-Measure-values/m-p/3245870#M157218</link>
      <description>&lt;P&gt;Hi I am looking to sort the rows based on the rank values. i tried different methods suggested but not sure how to do a work around.&lt;/P&gt;&lt;P&gt;so..&lt;/P&gt;&lt;P&gt;I have a matrix visual has below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;rank by terrritory is measure based on the territory % value, it ranks the values from 100% to down.&lt;BR /&gt;rank by terrritory is working fine but i need the rank values to be sorted in Asc how can i do that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I created a Metrix based on the multiple measures in a single measure&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Metrix in rows and Columns in the Columns shelf are comming from the Custome table(MetrixTable) where the metris=x names and rowIDs are presenst&lt;BR /&gt;MetrixTable&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the "ALL Measure" is a measure where all the measures plased based on the Row ID of a Matrix table with a switch function like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Switch(&lt;/P&gt;&lt;P&gt;True(),&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Row ID ]&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,[RankByTerritory]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Row ID ]&lt;/SPAN&gt;&lt;SPAN&gt;) = 2&lt;/SPAN&gt;&lt;SPAN&gt;,[Territory]&lt;/SPAN&gt;&lt;BR /&gt;.........)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how can i sort the rank value in the metrix.....?&lt;BR /&gt;&lt;BR /&gt;Please respond&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2023 11:03:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sort-the-rows-in-the-mettrix-by-Measure-values/m-p/3245870#M157218</guid>
      <dc:creator>Raghu561</dc:creator>
      <dc:date>2023-05-21T11:03:35Z</dc:date>
    </item>
  </channel>
</rss>

