<?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: need help with rankx formule in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-rankx-formule/m-p/3287062#M122237</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, do you want to create two ranking columns? Or what about creating a ranking column based on two columns?&lt;/P&gt;
&lt;P&gt;According to your description and your screenshots, I don't fully understand your needs. For creating sort columns, I can give you two functions.&lt;/P&gt;
&lt;P&gt;If you need to sort by a certain column, you can try to use the rankx function, for this , you can refer to :&lt;BR /&gt;&lt;A href="https://www.sqlservercentral.com/articles/using-the-rankx-function-in-power-bi" target="_blank"&gt;Using the RANKX function in Power BI – SQLServerCentral&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to sort by multiple columns, you can try to use the RANK function, for this , you can refer to :&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/rank-function-dax" target="_blank"&gt;RANK function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the above can't help you, you can describe your sorting logic in detail (such as which columns or columns need to be grouped),&amp;nbsp;you can provide us with your special &lt;STRONG&gt;sample data&lt;/STRONG&gt; and the &lt;STRONG&gt;desired output sample&lt;/STRONG&gt; data in the form of &lt;STRONG&gt;tables&lt;/STRONG&gt;, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 02:45:11 GMT</pubDate>
    <dc:creator>v-yueyunzh-msft</dc:creator>
    <dc:date>2023-06-16T02:45:11Z</dc:date>
    <item>
      <title>need help with rankx formule</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-rankx-formule/m-p/3283276#M121980</link>
      <description>&lt;P&gt;hello i need some help 2 creat 2 rank colums based on points&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;i need 2 rankx colums based on punten etappe and based on punten totaal so the people in colum naam wil get a rank based on the points&lt;/P&gt;&lt;P&gt;these are points people earn by predicting the tour de france&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 08:52:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-rankx-formule/m-p/3283276#M121980</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-14T08:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: need help with rankx formule</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-rankx-formule/m-p/3287062#M122237</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, do you want to create two ranking columns? Or what about creating a ranking column based on two columns?&lt;/P&gt;
&lt;P&gt;According to your description and your screenshots, I don't fully understand your needs. For creating sort columns, I can give you two functions.&lt;/P&gt;
&lt;P&gt;If you need to sort by a certain column, you can try to use the rankx function, for this , you can refer to :&lt;BR /&gt;&lt;A href="https://www.sqlservercentral.com/articles/using-the-rankx-function-in-power-bi" target="_blank"&gt;Using the RANKX function in Power BI – SQLServerCentral&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to sort by multiple columns, you can try to use the RANK function, for this , you can refer to :&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/rank-function-dax" target="_blank"&gt;RANK function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the above can't help you, you can describe your sorting logic in detail (such as which columns or columns need to be grouped),&amp;nbsp;you can provide us with your special &lt;STRONG&gt;sample data&lt;/STRONG&gt; and the &lt;STRONG&gt;desired output sample&lt;/STRONG&gt; data in the form of &lt;STRONG&gt;tables&lt;/STRONG&gt;, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 02:45:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-rankx-formule/m-p/3287062#M122237</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-06-16T02:45:11Z</dc:date>
    </item>
  </channel>
</rss>

