<?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: 4month rolling total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2772130#M86331</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/435108" target="_self"&gt;&lt;SPAN class=""&gt;Youngli&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please disregard my innocence. I got it. Thank you so much for your help.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Vanessa&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 03:27:32 GMT</pubDate>
    <dc:creator>vanessacalalang</dc:creator>
    <dc:date>2022-09-16T03:27:32Z</dc:date>
    <item>
      <title>4month rolling total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2760806#M85568</link>
      <description>&lt;P&gt;Hi, Can someone helpme please?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a matrix to show&amp;nbsp; 4months total of sales per client.&amp;nbsp;&lt;/P&gt;&lt;P&gt;From this Sales table ( I just did mock up data in excel)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I need to have&amp;nbsp; matrix in power bi showing 4month rolling total like this:&lt;/P&gt;&lt;P&gt;i.e. Client 1 Jan value 0f 700 is a total from Jan - Apr value ( 100+200+300+100) and so on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My data set containt Clients, Date( From Jan 2022 - Dec 2023 and Value colum.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I tried a lot of formulas that i can see online but nothing seemed to work. Can anyone help me, please? Thank you so much in advance.&amp;nbsp;&lt;BR /&gt;Cheers,&lt;BR /&gt;Vanessa&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 03:19:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2760806#M85568</guid>
      <dc:creator>vanessacalalang</dc:creator>
      <dc:date>2022-09-12T03:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: 4month rolling total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2760992#M85583</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I tried to create a sample pbix file like below, and I hope the below can provide some ideas on how to create a solution for your dataset.&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expected measure: =
CALCULATE (
    [Value sum measure:],
    'Calendar'[Date] &amp;gt;= MIN ( 'Calendar'[Date] ),
    'Calendar'[Date] &amp;lt;= EOMONTH ( MIN ( 'Calendar'[Date] ), 3 )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 06:30:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2760992#M85583</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-12T06:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: 4month rolling total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2762830#M85690</link>
      <description>&lt;P&gt;Hi Jihwa,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your response but I don't think it's the right formula of what I'm looking for.&amp;nbsp;Say if we use value on the table that you have there as example. I need the formula to show the rolling 4month totals like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;For Jan-22 = values for (Jan+Feb+Mar+Apr).&amp;nbsp;So for Client1 = 30+30+26+31 hence 117.&amp;nbsp;&lt;SPAN&gt;For Feb =&amp;nbsp;values for (Feb+Mar+Apr+May).&amp;nbsp;So for Client1 = 30+26+31+31 hence 118. It's easy to do it in excel but I can't seem to pathom the right formula in Power BI. Appreciate your help. Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;BR /&gt;Vanessa&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 00:20:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2762830#M85690</guid>
      <dc:creator>vanessacalalang</dc:creator>
      <dc:date>2022-09-13T00:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: 4month rolling total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2763051#M85704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your feedback.&lt;/P&gt;
&lt;P&gt;I am confused a little bit. I created a sample, and in my sample, Client01 has 6 on January, 9 on Feb, 5 on March, and 10 on Apr. So, 6+9+5+10 = 30&lt;/P&gt;
&lt;P&gt;Do you mean that, for Client01, after you create 4 months rolling, and then do the calculation again for 4 months rolling?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 03:05:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2763051#M85704</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-13T03:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: 4month rolling total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2763497#M85722</link>
      <description>&lt;P&gt;HI&amp;nbsp; I add an index column , then calculate it in below formular. then you can delete index column&lt;/P&gt;&lt;P&gt;= Table.AddColumn(#"Added Index", "Custom", each List.Sum(Table.SelectRows(#"Added Index",(a)=&amp;gt;a[Index]&amp;lt;=[Index]+3 and a[Index]&amp;gt;=[Index] and a[Clients]=[Clients])[Value]))&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 07:24:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2763497#M85722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-13T07:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: 4month rolling total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2771798#M86315</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sorry I missed your raw data. This is exactly what I need except I need to derive the "value" from the measure that I created as there are other calculations into it. Any advise on how can I get the SUM of the "measure" so I can use your brilliant formula? Thansk!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Vanessa&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 23:37:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2771798#M86315</guid>
      <dc:creator>vanessacalalang</dc:creator>
      <dc:date>2022-09-15T23:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: 4month rolling total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2772121#M86330</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I tried this solution and it worked. Although when I put it in matrix and used the "Custom" value that was created from this formula, the &lt;STRONG&gt;Row Subtotal&lt;/STRONG&gt; is not correct. Is there a way to reflect the correct Row Subtotal? Thanks!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Vanessa&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 03:23:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2772121#M86330</guid>
      <dc:creator>vanessacalalang</dc:creator>
      <dc:date>2022-09-16T03:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: 4month rolling total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2772130#M86331</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/435108" target="_self"&gt;&lt;SPAN class=""&gt;Youngli&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please disregard my innocence. I got it. Thank you so much for your help.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Vanessa&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 03:27:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/4month-rolling-total/m-p/2772130#M86331</guid>
      <dc:creator>vanessacalalang</dc:creator>
      <dc:date>2022-09-16T03:27:32Z</dc:date>
    </item>
  </channel>
</rss>

