<?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 Re: Rankx problem in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562676#M31028</link>
    <description>&lt;P&gt;The result are 1 in all lines&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 12:02:52 GMT</pubDate>
    <dc:creator>wsuess</dc:creator>
    <dc:date>2020-12-21T12:02:52Z</dc:date>
    <item>
      <title>Rankx problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562606#M31023</link>
      <description>&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;I have problem with RankX, because the data formart, which i have to rank are text.See below screen shot&lt;/P&gt;&lt;P&gt;I have a second table, which i rank and&amp;nbsp; there i can use&amp;nbsp; it without problems, but these are decimal numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ItemRank = RANKX(ALL('DataTable'[Part Number]),'DataTable'[Revenue1])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there any solution for?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Many thansk for your support&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 11:11:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562606#M31023</guid>
      <dc:creator>wsuess</dc:creator>
      <dc:date>2020-12-21T11:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562655#M31025</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="125055" data-lia-user-login="wsuess" class="lia-mention lia-mention-user"&gt;wsuess&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the problem exactly?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would you like to sort/rank the text data? Following what rules?&lt;/P&gt;
&lt;P&gt;Probably best to convert the text to number in a way that respects the order you want to observe&lt;/P&gt;
&lt;P&gt;And best if you can share the pbix or some sample data like that shown in the pic but in text format so that it can be readily copied&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 11:52:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562655#M31025</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-12-21T11:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562670#M31027</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="125055" data-lia-user-login="wsuess" class="lia-mention lia-mention-user"&gt;wsuess&lt;/a&gt; , You should able to rank, what is error you are getting &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ItemRank = RANKX(ALL('Table'[Part Number]),'Table'[Part Number])&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;ItemRank = RANKX(ALL('Table'),'Table'[Part Number])&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;ItemRank = RANKX(ALL('Table'),'Table'[Part Number],,asc,dense)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Rank Refer these links&lt;BR /&gt;&lt;A href="https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns" target="_blank"&gt;https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures" target="_blank"&gt;https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 11:58:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562670#M31027</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-21T11:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562676#M31028</link>
      <description>&lt;P&gt;The result are 1 in all lines&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 12:02:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562676#M31028</guid>
      <dc:creator>wsuess</dc:creator>
      <dc:date>2020-12-21T12:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562721#M31031</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="125055" data-lia-user-login="wsuess" class="lia-mention lia-mention-user"&gt;wsuess&lt;/a&gt; , Tried this as a new column?&lt;/P&gt;
&lt;P&gt;ItemRank = RANKX(ALL('Table'),'Table'[Part Number]) &lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 12:50:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562721#M31031</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-21T12:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562754#M31033</link>
      <description>&lt;P&gt;Hello Amit,&lt;/P&gt;&lt;P&gt;see both results.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 13:08:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1562754#M31033</guid>
      <dc:creator>wsuess</dc:creator>
      <dc:date>2020-12-21T13:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1563062#M31039</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="125055" data-lia-user-login="wsuess" class="lia-mention lia-mention-user"&gt;wsuess&lt;/a&gt; , Have tried&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ItemRank = RANKX(ALL('Table'),'Table'[Part Number])&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did not see that&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 15:44:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-problem/m-p/1563062#M31039</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-21T15:44:46Z</dc:date>
    </item>
  </channel>
</rss>

