<?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 30 days for each day for a selected time frame in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-30-days-for-each-day-for-a-selected-time-frame/m-p/3277801#M121661</link>
    <description>&lt;P&gt;You can use either EDATE or WINDOW for this.&amp;nbsp; Note that "Rolling 30" is different from what you describe. For example 7th August to 7th September is 32 days.&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 19:39:53 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-06-10T19:39:53Z</dc:date>
    <item>
      <title>Rolling 30 days for each day for a selected time frame</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-30-days-for-each-day-for-a-selected-time-frame/m-p/3273413#M121399</link>
      <description>&lt;P&gt;Hi All...&lt;/P&gt;&lt;P&gt;I am struggling to create an average rolling 30 days Sales KPI for everydate of a selected time frame..&lt;/P&gt;&lt;P&gt;My usecase is:&lt;/P&gt;&lt;P&gt;User will select a date from the date slicer at the top...User will select MTD from the MTD/YTD toggle...and the x-axis on my bar chart will just show the relevant days applicable for that selected date. E.g: if user selects 07/09/2022...my x-axis should have dates from 1st of september to 7th of september.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rolling 30 kpi...should work in the below way:&lt;/P&gt;&lt;P&gt;Bar on 1st Sep should show Avg Sales of 1st Aug till 1st Sept...&lt;/P&gt;&lt;P&gt;Bar on 2nd Sep should show Avg Sales of 2nd Aug till 2nd Sept...&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Bar on 7th Sept should show Avg Sales of 7th Aug till 7th Sept...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when user selects YTD...&lt;/P&gt;&lt;P&gt;my X- axis now shows Months instead of days..&lt;/P&gt;&lt;P&gt;so for the selected day above, it should have Jan - Sept (till 7th)...and the rolling 30 should work in a way&amp;nbsp;&lt;/P&gt;&lt;P&gt;for Jan - Avg of 1st Jan to 31st jan...feb Avg of 1st to 28th...etc etc...for Sept it should show Avg of 1st sept to 7th Sept...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MTD selection is of more priority..&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 20:19:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-30-days-for-each-day-for-a-selected-time-frame/m-p/3273413#M121399</guid>
      <dc:creator>Avishekd1991</dc:creator>
      <dc:date>2023-06-07T20:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 days for each day for a selected time frame</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-30-days-for-each-day-for-a-selected-time-frame/m-p/3277801#M121661</link>
      <description>&lt;P&gt;You can use either EDATE or WINDOW for this.&amp;nbsp; Note that "Rolling 30" is different from what you describe. For example 7th August to 7th September is 32 days.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 19:39:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-30-days-for-each-day-for-a-selected-time-frame/m-p/3277801#M121661</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-06-10T19:39:53Z</dc:date>
    </item>
  </channel>
</rss>

