<?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: Rolling DateTime Calulation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-DateTime-Calulation/m-p/2392093#M62255</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks a lot for you reply, unfortuanatly the provided idea is not exactly what i am looking for because my rolling every day rawdata will show the prev. 10 days anyway so your filtering solution would be obsolete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I rather try to create an additional Date column where i am grouping the existing Dates based on the above provided criterias.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2022 10:42:26 GMT</pubDate>
    <dc:creator>Jan1984</dc:creator>
    <dc:date>2022-03-14T10:42:26Z</dc:date>
    <item>
      <title>Rolling DateTime Calulation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-DateTime-Calulation/m-p/2391546#M62221</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello All,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am Receiving a daily rolling 10 Days Extract every day, where I need to modify the provided Date Column.&lt;/P&gt;&lt;P&gt;Therefore I created an example Dataset with only the Date Column(File --&amp;gt;&lt;A href="https://we.tl/t-8qG67CEYcQ" target="_blank" rel="noopener"&gt;https://we.tl/t-8qG67CEYcQ&lt;/A&gt;) for testing purposes.&lt;/P&gt;&lt;P&gt;Below you find the criteria’s I would need…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dates within the Extract…&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Todays Extract would be - From&lt;/STRONG&gt; MinDateTime(02 Mar 2022 00:45) &lt;STRONG&gt;to&lt;/STRONG&gt; MaxDateTime(11 Mar 2022 08:20)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Tomorrows Extract would be - From&lt;/STRONG&gt; MinDate(03 Mar 2022 XX:XX) &lt;STRONG&gt;to&lt;/STRONG&gt; MaxDate(12 Mar 2022 XX:XX)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Required date changes in an Extra Calculated Column should be…&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Dates &amp;gt; MaxDate 11 Mar 07:00 == Blank or NA&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;11/02 07:00 – 10/02 06:59:59&amp;nbsp; == 11/02&lt;/LI&gt;&lt;LI&gt;10/02 07:00 – 09/02 06:59:59&amp;nbsp; == 10/02&lt;/LI&gt;&lt;LI&gt;09/02 07:00 – 08/02 06:59:59&amp;nbsp; == 09/02&lt;/LI&gt;&lt;LI&gt;08/02 07:00 – 07/02 06:59:59&amp;nbsp; == 08/02&lt;/LI&gt;&lt;LI&gt;07/02 07:00 – 06/02 06:59:59&amp;nbsp; == 07/02&lt;/LI&gt;&lt;LI&gt;06/02 07:00 – 05/02 06:59:59&amp;nbsp; == 06/02&lt;/LI&gt;&lt;LI&gt;05/02 07:00 – 04/02 06:59:59&amp;nbsp; == 05/02&lt;/LI&gt;&lt;LI&gt;04/02 07:00 – 03/02 06:59:59&amp;nbsp; == 04/02&lt;/LI&gt;&lt;LI&gt;03/02 07:00 – 02/02 06:59:59&amp;nbsp; == 03/02&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Dates &amp;lt; MinDate &amp;nbsp;02 Mar 07:00 == Blank or NA&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your Support&lt;/P&gt;&lt;P&gt;Have a nice Day&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 08:00:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-DateTime-Calulation/m-p/2391546#M62221</guid>
      <dc:creator>Jan1984</dc:creator>
      <dc:date>2022-03-14T08:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling DateTime Calulation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-DateTime-Calulation/m-p/2391591#M62222</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="366743" data-lia-user-login="Jan1984" class="lia-mention lia-mention-user"&gt;Jan1984&lt;/a&gt;&amp;nbsp;Maybe:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = fnDateTable(#date(2020,1,1), #date(2022,12,31)),
    #"Filtered Rows" = Table.SelectRows(Source, each Date.IsInPreviousNDays([Date], 10))
in
    #"Filtered Rows"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 14 Mar 2022 08:21:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-DateTime-Calulation/m-p/2391591#M62222</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-03-14T08:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling DateTime Calulation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-DateTime-Calulation/m-p/2392093#M62255</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks a lot for you reply, unfortuanatly the provided idea is not exactly what i am looking for because my rolling every day rawdata will show the prev. 10 days anyway so your filtering solution would be obsolete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I rather try to create an additional Date column where i am grouping the existing Dates based on the above provided criterias.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 10:42:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-DateTime-Calulation/m-p/2392093#M62255</guid>
      <dc:creator>Jan1984</dc:creator>
      <dc:date>2022-03-14T10:42:26Z</dc:date>
    </item>
  </channel>
</rss>

