<?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 Function in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3831546#M1237394</link>
    <description>&lt;P&gt;consider using PERCENTILEX instead.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 17:43:05 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-04-11T17:43:05Z</dc:date>
    <item>
      <title>RANKX Function</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3831446#M1237364</link>
      <description>&lt;P&gt;Hi all, I'm trying to figure out a way to use the RANKX function to rank a sales column in my table. I do not want to rank this by a certain category but rather rank them in groups (1-10) evenly distributed across the dataset by the sales number. For example group 1 would contain the lowest sales amounts and group 10 would contain the highest sales amount. I can't seem to figure out how to accomplish this without defining a category to rank by which I don't want to do. Thanks for any replies!!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 16:38:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3831446#M1237364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-11T16:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX Function</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3831546#M1237394</link>
      <description>&lt;P&gt;consider using PERCENTILEX instead.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 17:43:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3831546#M1237394</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-11T17:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX Function</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3831563#M1237399</link>
      <description>&lt;P&gt;Thanks for the reply. The PERCENTILEX function is (Table, Expression, K). Obviously I would reference my table first but what is Expression and K? How would I use this to create a 1-10 numeric range?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 17:54:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3831563#M1237399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-11T17:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX Function</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3831565#M1237400</link>
      <description>&lt;P&gt;calculate for k=0.1, k=0.2, k=0.3 etc.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 17:55:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3831565#M1237400</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-11T17:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX Function</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3833095#M1237706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;for the correct direction. If I understand it correctly, you can try a new column with below DAX.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RankGroup = 
VAR vSalesAmt = 'Table'[SalesAmt]
RETURN
SWITCH(TRUE(),
vSalesAmt&amp;lt;PERCENTILEX.INC('Table', 'Table'[SalesAmt], 0.1),1,
vSalesAmt&amp;lt;PERCENTILEX.INC('Table', 'Table'[SalesAmt], 0.2),2,
vSalesAmt&amp;lt;PERCENTILEX.INC('Table', 'Table'[SalesAmt], 0.3),3,
vSalesAmt&amp;lt;PERCENTILEX.INC('Table', 'Table'[SalesAmt], 0.4),4,
vSalesAmt&amp;lt;PERCENTILEX.INC('Table', 'Table'[SalesAmt], 0.5),5,
vSalesAmt&amp;lt;PERCENTILEX.INC('Table', 'Table'[SalesAmt], 0.6),6,
vSalesAmt&amp;lt;PERCENTILEX.INC('Table', 'Table'[SalesAmt], 0.7),7,
vSalesAmt&amp;lt;PERCENTILEX.INC('Table', 'Table'[SalesAmt], 0.8),8,
vSalesAmt&amp;lt;PERCENTILEX.INC('Table', 'Table'[SalesAmt], 0.9),9,
10)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Jing&lt;BR /&gt;&lt;EM&gt;If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 08:09:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3833095#M1237706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-12T08:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX Function</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3846329#M1240861</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;for the reponses. I believe the PERCENTILEX.INC function is the right way to go. Can you explain why you use expressions 0.1, 0.2 ,0.3, etc...? When I apply this formula to my specific case I only get a rank group from 8-10.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 16:35:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3846329#M1240861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-17T16:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX Function</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3846713#M1240938</link>
      <description>&lt;P&gt;how much data do you have?&amp;nbsp; Needs to be statistically significant.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 21:44:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/RANKX-Function/m-p/3846713#M1240938</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-17T21:44:02Z</dc:date>
    </item>
  </channel>
</rss>

