<?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: power bi - ranking date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/power-bi-ranking-date/m-p/2827583#M89945</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="453632" data-lia-user-login="talan12" class="lia-mention lia-mention-user"&gt;talan12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for measure please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=
COUNTROWS (
    FILTER (
        CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[Month], 'Table'[Year] ) ),
        'Table'[Date] &amp;lt;= MAX ( 'Table'[Month] )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;for calculated column please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=
COUNTROWS (
    FILTER (
        CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[Month], 'Table'[Year] ) ),
        'Table'[Date] &amp;lt;= EARLIER ( 'Table'[Month] )
    )
)&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 08 Oct 2022 20:56:09 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-10-08T20:56:09Z</dc:date>
    <item>
      <title>power bi - ranking date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/power-bi-ranking-date/m-p/2827569#M89940</link>
      <description>&lt;P&gt;hello &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to make a ranking on a date so that every beginning of a month it resets but I can't get it. the furthest I got is that every month simply gets an cumulative ranking based on RANKX on power bi which includes a month and a year. Has anyone needed such a ranking and succeeded?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 20:19:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/power-bi-ranking-date/m-p/2827569#M89940</guid>
      <dc:creator>talan12</dc:creator>
      <dc:date>2022-10-08T20:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: power bi - ranking date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/power-bi-ranking-date/m-p/2827575#M89942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="453632" data-lia-user-login="talan12" class="lia-mention lia-mention-user"&gt;talan12&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this one help you fixing your issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.tackytech.blog/how-to-crack-the-mystery-of-the-mighty-dax/#create-ranks-and-indexes-dynamically-with-measures" target="_blank" rel="noopener"&gt;https://www.tackytech.blog/how-to-crack-the-mystery-of-the-mighty-dax/#create-ranks-and-indexes-dynamically-with-measures&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, could you provide some sample on how you exactly would like to rank the data. Also, do you want to do this in DAX as a measure or a calculated column or rather a new column in Power Query?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Tom&lt;BR /&gt;&lt;A href="https://www.tackytech.blog/" target="_blank" rel="noopener"&gt;https://www.tackytech.blog/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.instagram.com/tackytechtom/" target="_blank" rel="noopener"&gt;https://www.instagram.com/tackytechtom/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 20:47:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/power-bi-ranking-date/m-p/2827575#M89942</guid>
      <dc:creator>tackytechtom</dc:creator>
      <dc:date>2022-10-08T20:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: power bi - ranking date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/power-bi-ranking-date/m-p/2827583#M89945</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="453632" data-lia-user-login="talan12" class="lia-mention lia-mention-user"&gt;talan12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for measure please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=
COUNTROWS (
    FILTER (
        CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[Month], 'Table'[Year] ) ),
        'Table'[Date] &amp;lt;= MAX ( 'Table'[Month] )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;for calculated column please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=
COUNTROWS (
    FILTER (
        CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[Month], 'Table'[Year] ) ),
        'Table'[Date] &amp;lt;= EARLIER ( 'Table'[Month] )
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 08 Oct 2022 20:56:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/power-bi-ranking-date/m-p/2827583#M89945</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-10-08T20:56:09Z</dc:date>
    </item>
  </channel>
</rss>

