<?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: 3 months rolling sum in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4018891#M158519</link>
    <description>&lt;P&gt;Thanks for your reply. I got stuck with "3 months rolling Sum" section. The answer shown is expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 15:54:30 GMT</pubDate>
    <dc:creator>jimpatel</dc:creator>
    <dc:date>2024-07-01T15:54:30Z</dc:date>
    <item>
      <title>3 months rolling sum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4018545#M158493</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking at my post. I am looking for some DAX formula for 3 months rolling sum of calculated column please? Any idea please?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 12:37:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4018545#M158493</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2024-07-01T12:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: 3 months rolling sum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4018856#M158514</link>
      <description>&lt;P&gt;Sounds straightforward (apart from the data duplication - why a calculated column?). What have you tried and where are you stuck?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 15:33:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4018856#M158514</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-07-01T15:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: 3 months rolling sum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4018891#M158519</link>
      <description>&lt;P&gt;Thanks for your reply. I got stuck with "3 months rolling Sum" section. The answer shown is expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 15:54:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4018891#M158519</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2024-07-01T15:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: 3 months rolling sum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4018914#M158521</link>
      <description>&lt;P&gt;Please provide sample data &lt;STRONG&gt;that fully covers your issue&lt;/STRONG&gt;. Show more than three months of data.&amp;nbsp; Ideally in usable format, not as a screenshot.&lt;BR /&gt;Please show the expected outcome based on the sample data you provided.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 16:13:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4018914#M158521</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-07-01T16:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: 3 months rolling sum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4029239#M159250</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;,Thanks for your quick reply, I will add more.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="413988" data-lia-user-login="jimpatel" class="lia-mention lia-mention-user"&gt;jimpatel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The Table data is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Use the following DAX expression to create columns.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = 
YEAR('Table'[Date]) * 100 + MONTH('Table'[Date])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Rank = 
RANKX('Table',[Column],,ASC,Dense)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;3 months rolling sum = 
VAR _rank = [Rank]
VAR _table = SUMMARIZE('Table',[Rank],[Calculated Column])
RETURN
SUMX(FILTER(_table,[Rank] &amp;lt;= _rank &amp;amp;&amp;amp; [Rank] &amp;gt;= _rank - 2),[Calculated Column])&lt;/LI-CODE&gt;
&lt;P&gt;Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 03:21:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4029239#M159250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-08T03:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: 3 months rolling sum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4044044#M160400</link>
      <description>&lt;P&gt;Thanks a lot. It works perfect.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 09:29:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/3-months-rolling-sum/m-p/4044044#M160400</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2024-07-16T09:29:59Z</dc:date>
    </item>
  </channel>
</rss>

