<?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 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4600267#M176105</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="916274" data-lia-user-login="Cyriackpazhe" class="lia-mention lia-mention-user"&gt;Cyriackpazhe&lt;/a&gt;&amp;nbsp;, Try this&lt;/P&gt;&lt;P&gt;"Rank_Quarter =RANKX(FILTER(ALL(Calendar),Calendar[Year] = SELECTEDVALUE(Calendar[Year])&amp;nbsp;),[Total],, DESC)&lt;/P&gt;</description>
    <pubDate>Fri, 07 Mar 2025 10:55:28 GMT</pubDate>
    <dc:creator>Azadsingh</dc:creator>
    <dc:date>2025-03-07T10:55:28Z</dc:date>
    <item>
      <title>RankX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4600155#M176101</link>
      <description>&lt;P&gt;&lt;img /&gt;Why is this happening. I want to rank the each quarter in the respective years. How come this is happening. Any explanation as to why this is happening when it should give the correct results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 09:55:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4600155#M176101</guid>
      <dc:creator>Cyriackpazhe</dc:creator>
      <dc:date>2025-03-07T09:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: RankX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4600267#M176105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="916274" data-lia-user-login="Cyriackpazhe" class="lia-mention lia-mention-user"&gt;Cyriackpazhe&lt;/a&gt;&amp;nbsp;, Try this&lt;/P&gt;&lt;P&gt;"Rank_Quarter =RANKX(FILTER(ALL(Calendar),Calendar[Year] = SELECTEDVALUE(Calendar[Year])&amp;nbsp;),[Total],, DESC)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 10:55:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4600267#M176105</guid>
      <dc:creator>Azadsingh</dc:creator>
      <dc:date>2025-03-07T10:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: RankX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4600299#M176108</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="916274" data-lia-user-login="Cyriackpazhe" class="lia-mention lia-mention-user"&gt;Cyriackpazhe&lt;/a&gt;&amp;nbsp;Hi! Try with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rank2 = &lt;BR /&gt;RANKX(&lt;BR /&gt;ALLEXCEPT('Calendar', 'Calendar'[Date].[Year]), &lt;BR /&gt;[Total], &lt;BR /&gt;, &lt;BR /&gt;DESC, &lt;BR /&gt;Dense&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 11:14:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4600299#M176108</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2025-03-07T11:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: RankX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4600420#M176112</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="916274" data-lia-user-login="Cyriackpazhe" class="lia-mention lia-mention-user"&gt;Cyriackpazhe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try below dax for your purpose, this will be easier and optimized&amp;nbsp; :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NewRank =&lt;BR /&gt;ROWNUMBER (&lt;BR /&gt;ALL ( Datestbl[Year], Datestbl[QuarterOfYear] ),&amp;nbsp; // Add fields you want in visual&lt;BR /&gt;ORDERBY ( [TotalSales], DESC ),&lt;BR /&gt;PARTITIONBY ( Datestbl[Year] )&amp;nbsp; //Will reset ranking for each year&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Did I answer your query ? Mark this as solution if this helps, Kudos are appreciated.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;Neeraj&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 12:57:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4600420#M176112</guid>
      <dc:creator>divyed</dc:creator>
      <dc:date>2025-03-07T12:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: RankX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4644949#M177828</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="916274" data-lia-user-login="Cyriackpazhe" class="lia-mention lia-mention-user"&gt;Cyriackpazhe&lt;/a&gt;&lt;BR /&gt;Thank you for reaching out microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 11:50:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4644949#M177828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-09T11:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: RankX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4651395#M178045</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="916274" data-lia-user-login="Cyriackpazhe" class="lia-mention lia-mention-user"&gt;Cyriackpazhe&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I wanted to check if you had the opportunity to review the information provided &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="826012" data-lia-user-login="divyed" class="lia-mention lia-mention-user"&gt;divyed&lt;/a&gt;&amp;nbsp;, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="202311" data-lia-user-login="BeaBF" class="lia-mention lia-mention-user"&gt;BeaBF&lt;/a&gt;&amp;nbsp;and &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="917080" data-lia-user-login="Azadsingh" class="lia-mention lia-mention-user"&gt;Azadsingh&lt;/a&gt;&amp;nbsp;. Please feel free to contact us if you have any further questions. If their response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 11:54:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4651395#M178045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-14T11:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: RankX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4686081#M179482</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="916274" data-lia-user-login="Cyriackpazhe" class="lia-mention lia-mention-user"&gt;Cyriackpazhe&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please &lt;STRONG&gt;Accept it as a solution&lt;/STRONG&gt; and give it a '&lt;STRONG&gt;Kudos&lt;/STRONG&gt;' so others can find it easily.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 07:07:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX/m-p/4686081#M179482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-09T07:07:23Z</dc:date>
    </item>
  </channel>
</rss>

