<?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 Rankx where lowest number is number 1 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-where-lowest-number-is-number-1/m-p/2787779#M87436</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a measure to quantify cost by salesperson.&lt;/P&gt;&lt;P&gt;Now, I want to use RANKX, so the&lt;U&gt;&lt;STRONG&gt; lowest&lt;/STRONG&gt;&lt;/U&gt; cost is ranked #1, not the highest cost.&lt;/P&gt;&lt;P&gt;So I wrote this:&lt;/P&gt;&lt;P&gt;Salesperson cost ranking = Rankx(allselected(table[salesperson]), table [cost])&lt;/P&gt;&lt;P&gt;.....but unfortunately, this gives me the highest cost as rank #1.&lt;/P&gt;&lt;P&gt;Any ideas&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 18:17:47 GMT</pubDate>
    <dc:creator>Arenek</dc:creator>
    <dc:date>2022-09-22T18:17:47Z</dc:date>
    <item>
      <title>Rankx where lowest number is number 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-where-lowest-number-is-number-1/m-p/2787779#M87436</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a measure to quantify cost by salesperson.&lt;/P&gt;&lt;P&gt;Now, I want to use RANKX, so the&lt;U&gt;&lt;STRONG&gt; lowest&lt;/STRONG&gt;&lt;/U&gt; cost is ranked #1, not the highest cost.&lt;/P&gt;&lt;P&gt;So I wrote this:&lt;/P&gt;&lt;P&gt;Salesperson cost ranking = Rankx(allselected(table[salesperson]), table [cost])&lt;/P&gt;&lt;P&gt;.....but unfortunately, this gives me the highest cost as rank #1.&lt;/P&gt;&lt;P&gt;Any ideas&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 18:17:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-where-lowest-number-is-number-1/m-p/2787779#M87436</guid>
      <dc:creator>Arenek</dc:creator>
      <dc:date>2022-09-22T18:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx where lowest number is number 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-where-lowest-number-is-number-1/m-p/2787790#M87439</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="446165" data-lia-user-login="Arenek" class="lia-mention lia-mention-user"&gt;Arenek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;=&lt;BR /&gt;&lt;STRONG&gt;RANKX ( ALLSELECTED ( table[salesperson] ), table[cost],, asc )&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 18:22:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-where-lowest-number-is-number-1/m-p/2787790#M87439</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-22T18:22:00Z</dc:date>
    </item>
  </channel>
</rss>

