<?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: Create a Rank column by using a date column. There might be duplicate dates, but the rank should not in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1002848#M12727</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177582" data-lia-user-login="SriKandimalla" class="lia-mention lia-mention-user"&gt;SriKandimalla&lt;/a&gt;.,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have anyother column in your dataset apart from NAME and DATE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pragati&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 14:22:39 GMT</pubDate>
    <dc:creator>Pragati11</dc:creator>
    <dc:date>2020-04-01T14:22:39Z</dc:date>
    <item>
      <title>Create a Rank column by using a date column. There might be duplicate dates, but the rank should not</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1001385#M12696</link>
      <description>&lt;P&gt;Hello PBI Comunity,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to solve the following criteria:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[Latest name]&lt;/STRONG&gt; is my target DAX column, which I tried to achieve.&lt;BR /&gt;I need to check if a name is duplicate, then check all the dates for that name, and give rank for each row even when the dates are repeated.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate all the help.&lt;BR /&gt;TIA&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 22:20:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1001385#M12696</guid>
      <dc:creator>SriKandimalla</dc:creator>
      <dc:date>2020-03-31T22:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Rank column by using a date column. There might be duplicate dates, but the rank should not</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1002848#M12727</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177582" data-lia-user-login="SriKandimalla" class="lia-mention lia-mention-user"&gt;SriKandimalla&lt;/a&gt;.,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have anyother column in your dataset apart from NAME and DATE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pragati&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:22:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1002848#M12727</guid>
      <dc:creator>Pragati11</dc:creator>
      <dc:date>2020-04-01T14:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Rank column by using a date column. There might be duplicate dates, but the rank should not</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1002862#M12728</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="81077" data-lia-user-login="Pragati11" class="lia-mention lia-mention-user"&gt;Pragati11&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;I have many columns, but I cannot use them. Not relevant to this requirement.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:26:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1002862#M12728</guid>
      <dc:creator>SriKandimalla</dc:creator>
      <dc:date>2020-04-01T14:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Rank column by using a date column. There might be duplicate dates, but the rank should not</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1003035#M12732</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177582" data-lia-user-login="SriKandimalla" class="lia-mention lia-mention-user"&gt;SriKandimalla&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was a tricky thing to solve but finally got a way to do this by creating an &lt;STRONG&gt;INDEX/ID&lt;/STRONG&gt; column to the data.&lt;/P&gt;&lt;P&gt;1. Sample data used is as follows:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2. Created the DAX expression column as follows:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;Rank = RANKX(FILTER('Name Rank', 'Name Rank'[Name] = EARLIER('Name Rank'[Name])), 'Name Rank'[Date] - 'Name Rank'[ID] / POWER(10, 9), , ASC, Dense)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3. Then I move it to dashboard as follows:&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;4. Let's check result by filtering down one person:&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;We finally get the required result &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;EM&gt;If this helps and resolves your issue, appreciate a Kudos and mark it as a Solution! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Pragati&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 15:18:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1003035#M12732</guid>
      <dc:creator>Pragati11</dc:creator>
      <dc:date>2020-04-01T15:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Rank column by using a date column. There might be duplicate dates, but the rank should not</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1006676#M12819</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177582" data-lia-user-login="SriKandimalla" class="lia-mention lia-mention-user"&gt;SriKandimalla&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wanted to check, if my latest solutions worked for you? It works in my case. If it works please accept it as a solution ans close the thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pragati&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 10:07:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Rank-column-by-using-a-date-column-There-might-be/m-p/1006676#M12819</guid>
      <dc:creator>Pragati11</dc:creator>
      <dc:date>2020-04-03T10:07:31Z</dc:date>
    </item>
  </channel>
</rss>

