<?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 Giving ID to rows of dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Giving-ID-to-rows-of-dates/m-p/3243733#M119421</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't think this should be complicated but has me stuck! It is something I know I can achieve in PowerQuery but need the row numbers re-asessed based on slicer options so hence I believe it needs done as a DAX measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;I have a list of dates which I need to order and rank as per pic, but when slicers are applied these numbers need to recalculate based on the range now available. There are duplicate dates in this list which need given numbers different to one another. The closest I have come is using RANX but whatever I get closed is aggregating dates that are the same. I drew a sketch for a friend as below (it is the 'Burndown' column I am trying to create), any help would be massively appreciated!!! &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2023 06:40:14 GMT</pubDate>
    <dc:creator>Weegreen</dc:creator>
    <dc:date>2023-05-19T06:40:14Z</dc:date>
    <item>
      <title>Giving ID to rows of dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Giving-ID-to-rows-of-dates/m-p/3243733#M119421</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't think this should be complicated but has me stuck! It is something I know I can achieve in PowerQuery but need the row numbers re-asessed based on slicer options so hence I believe it needs done as a DAX measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;I have a list of dates which I need to order and rank as per pic, but when slicers are applied these numbers need to recalculate based on the range now available. There are duplicate dates in this list which need given numbers different to one another. The closest I have come is using RANX but whatever I get closed is aggregating dates that are the same. I drew a sketch for a friend as below (it is the 'Burndown' column I am trying to create), any help would be massively appreciated!!! &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 06:40:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Giving-ID-to-rows-of-dates/m-p/3243733#M119421</guid>
      <dc:creator>Weegreen</dc:creator>
      <dc:date>2023-05-19T06:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Giving ID to rows of dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Giving-ID-to-rows-of-dates/m-p/3244079#M119436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="563080" data-lia-user-login="Weegreen" class="lia-mention lia-mention-user"&gt;Weegreen&lt;/a&gt;&amp;nbsp; I am not sure what you need exactly, but if for part "&lt;SPAN&gt;There are duplicate dates in this list which need given numbers different to one another." you could in PQ insert index column (in my case starting from 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created test data, so 10.5.2023 and 12.05.2023 are duplicate dates so first picture below is before slicing and second is for slicing one date 10.5.2023. I hope this help&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 10:05:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Giving-ID-to-rows-of-dates/m-p/3244079#M119436</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-05-19T10:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Giving ID to rows of dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Giving-ID-to-rows-of-dates/m-p/3246594#M119617</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for replying! If it helps clarify, what I mean by being re-indexed is in your first instance, the index would show 1 and 2. But in the second instance the index would show as it does in your photo. Does that clarify at all?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 06:37:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Giving-ID-to-rows-of-dates/m-p/3246594#M119617</guid>
      <dc:creator>Weegreen</dc:creator>
      <dc:date>2023-05-22T06:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Giving ID to rows of dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Giving-ID-to-rows-of-dates/m-p/3247086#M119665</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="563080" data-lia-user-login="Weegreen" class="lia-mention lia-mention-user"&gt;Weegreen&lt;/a&gt;&amp;nbsp;I just saw that order of my picture should be reordered (1st should be 2nd lol). I still do not get your request.&amp;nbsp;Maybe you should try my approach for start, with your data.&lt;/P&gt;&lt;P&gt;As I understand you need slice interaction, which is fine. Still, what is your input and wanted output? Give us some examples for input/output.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:17:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Giving-ID-to-rows-of-dates/m-p/3247086#M119665</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-05-22T09:17:30Z</dc:date>
    </item>
  </channel>
</rss>

