<?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 Help Required For Calculating Rolling Last 6 Month Average using DAX in Power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Required-For-Calculating-Rolling-Last-6-Month-Average-using/m-p/2730136#M83575</link>
    <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your help in Power BI to create a Matrix just like below:&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 have created DAX formula to calculate value for [Jan-21] to [Dec-21]. Now, I am facing challenges calculating rolling average of percentage for every last 6 months.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This matrix structure should be created dynamically if custom year-month slicer is used. E.g. if I select year-month range from "Jan-2019" to "July-2022", it should generate above report along with rolling last 6 monthly percentage average.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 27 Aug 2022 06:41:17 GMT</pubDate>
    <dc:creator>mitull</dc:creator>
    <dc:date>2022-08-27T06:41:17Z</dc:date>
    <item>
      <title>Help Required For Calculating Rolling Last 6 Month Average using DAX in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Required-For-Calculating-Rolling-Last-6-Month-Average-using/m-p/2730136#M83575</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your help in Power BI to create a Matrix just like below:&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 have created DAX formula to calculate value for [Jan-21] to [Dec-21]. Now, I am facing challenges calculating rolling average of percentage for every last 6 months.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This matrix structure should be created dynamically if custom year-month slicer is used. E.g. if I select year-month range from "Jan-2019" to "July-2022", it should generate above report along with rolling last 6 monthly percentage average.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2022 06:41:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Required-For-Calculating-Rolling-Last-6-Month-Average-using/m-p/2730136#M83575</guid>
      <dc:creator>mitull</dc:creator>
      <dc:date>2022-08-27T06:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help Required For Calculating Rolling Last 6 Month Average using DAX in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Required-For-Calculating-Rolling-Last-6-Month-Average-using/m-p/2730258#M83587</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;For calculating last 6m months you can use this kind of structure. Here I am using a calculation group but for a measure just place your logic where there is SELECTEDMEASURE&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT&gt;&lt;FONT class=""&gt;VAR&lt;FONT class=""&gt; _MaxDate = &lt;FONT class=""&gt;MAX&lt;FONT class=""&gt;(&lt;FONT class=""&gt; 'Calendar'[Date] &lt;FONT class=""&gt;) &lt;FONT class=""&gt;RETURN &lt;FONT class=""&gt;CALCULATE&lt;FONT class=""&gt;(&lt;FONT class=""&gt;SelectedMeasure&lt;FONT class=""&gt;()&lt;FONT class=""&gt;, &lt;FONT class=""&gt;DATESINPERIOD&lt;FONT class=""&gt;(&lt;FONT class=""&gt; 'Calendar'[Date], _MaxDate, -6&lt;FONT class=""&gt;, &lt;FONT class=""&gt;MONTH &lt;FONT class=""&gt;)&lt;FONT class=""&gt;, &lt;FONT class=""&gt;ALL&lt;FONT class=""&gt;(&lt;FONT class=""&gt;'Calendar'&lt;FONT class=""&gt;) )&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2022 13:24:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Required-For-Calculating-Rolling-Last-6-Month-Average-using/m-p/2730258#M83587</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-08-27T13:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help Required For Calculating Rolling Last 6 Month Average using DAX in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Required-For-Calculating-Rolling-Last-6-Month-Average-using/m-p/2772460#M86354</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343431" data-lia-user-login="ValtteriN" class="lia-mention lia-mention-user"&gt;ValtteriN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your quick help ! Your solution worked for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again and stay blessed !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 06:39:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Required-For-Calculating-Rolling-Last-6-Month-Average-using/m-p/2772460#M86354</guid>
      <dc:creator>mitull</dc:creator>
      <dc:date>2022-09-16T06:39:21Z</dc:date>
    </item>
  </channel>
</rss>

