<?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: RANK Dax issues! in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANK-Dax-issues/m-p/4249883#M168269</link>
    <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="605541" data-lia-user-login="jordanwhite16" class="lia-mention lia-mention-user"&gt;jordanwhite16&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since I don't know what your data looks like, please try creating a measure to calculate the rank using the following DAX to see if that helps.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RankAfterDate = 
VAR SpecificDate = DATE(2024, 8, 9)
RETURN
RANKX(
    FILTER(
        ALL('YourTable'),
        'YourTable'[DateColumn] &amp;gt; SpecificDate
    ),
    CALCULATE(SUM('YourTable'[SumColumn])),
    ,
    DESC,
    DENSE
)&lt;/LI-CODE&gt;
&lt;P&gt;If it doesn't work, please provide some sample data, and remember to protect your data privacy in the sample data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Best Regards,&lt;BR /&gt;Jarvis Tang&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 02:45:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-10-21T02:45:09Z</dc:date>
    <item>
      <title>RANK Dax issues!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANK-Dax-issues/m-p/4246787#M168129</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following dataset at my disposal and I'm looking at ranking the SumColumns shown in the dataset after a specific date of 2024, 9, 8 but as you can see there are duplicate values in the sum columns created (dax shown underneath) - and creating this rank measure would also mean dates before 2024, 8, 9 would need to be excluded. I included my current solution underneath these photos that duplicates the table, however I would want to avoid this and just write a new Dax with a new date in when the time comes to change ranges.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Duplication solution:&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:01:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANK-Dax-issues/m-p/4246787#M168129</guid>
      <dc:creator>jordanwhite16</dc:creator>
      <dc:date>2024-10-17T15:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: RANK Dax issues!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANK-Dax-issues/m-p/4247191#M168157</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information. Do not include anything that is unrelated to the issue or question. &lt;BR /&gt;&lt;BR /&gt;Need help uploading data? &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 19:50:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANK-Dax-issues/m-p/4247191#M168157</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-17T19:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: RANK Dax issues!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANK-Dax-issues/m-p/4249883#M168269</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="605541" data-lia-user-login="jordanwhite16" class="lia-mention lia-mention-user"&gt;jordanwhite16&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since I don't know what your data looks like, please try creating a measure to calculate the rank using the following DAX to see if that helps.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RankAfterDate = 
VAR SpecificDate = DATE(2024, 8, 9)
RETURN
RANKX(
    FILTER(
        ALL('YourTable'),
        'YourTable'[DateColumn] &amp;gt; SpecificDate
    ),
    CALCULATE(SUM('YourTable'[SumColumn])),
    ,
    DESC,
    DENSE
)&lt;/LI-CODE&gt;
&lt;P&gt;If it doesn't work, please provide some sample data, and remember to protect your data privacy in the sample data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Best Regards,&lt;BR /&gt;Jarvis Tang&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 02:45:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANK-Dax-issues/m-p/4249883#M168269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-21T02:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: RANK Dax issues!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANK-Dax-issues/m-p/4254857#M168552</link>
      <description>&lt;P&gt;Thank you very much! This worked for me!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 17:50:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANK-Dax-issues/m-p/4254857#M168552</guid>
      <dc:creator>jordanwhite16</dc:creator>
      <dc:date>2024-10-23T17:50:38Z</dc:date>
    </item>
  </channel>
</rss>

