<?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: Cumulative sum of columns/year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4416966#M175393</link>
    <description>&lt;P&gt;Hi bhanu_gautam,&lt;/P&gt;&lt;P&gt;The answer is close...here I need to find the cumulative for that year only...In this case it should stop at 172 when 2024 completes and then start fresh for 2025.&lt;/P&gt;&lt;P&gt;For 2025 in the control year it should start from 7 and end at 13&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 05:34:09 GMT</pubDate>
    <dc:creator>devpp</dc:creator>
    <dc:date>2025-02-19T05:34:09Z</dc:date>
    <item>
      <title>Cumulative sum of columns/year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4416154#M175354</link>
      <description>&lt;P&gt;Hello Community,&lt;BR /&gt;How can I find the cumulative sum of Plan and Actual column for the coloured period (month_year) using DAX.&lt;/P&gt;&lt;P&gt;The below screenshot is from Excel.&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;</description>
      <pubDate>Tue, 18 Feb 2025 15:18:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4416154#M175354</guid>
      <dc:creator>devpp</dc:creator>
      <dc:date>2025-02-18T15:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum of columns/year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4416172#M175356</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="164381" data-lia-user-login="devpp" class="lia-mention lia-mention-user"&gt;devpp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cumulative Planned:&lt;BR /&gt;DAX&lt;BR /&gt;Cumm Planned = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Table[Plan]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALL(Table),&lt;BR /&gt;Table[month_year] &amp;lt;= EARLIER(Table[month_year])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Cumulative Actual:&lt;BR /&gt;DAX&lt;BR /&gt;Cumm Actual = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Table[Actual]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALL(Table),&lt;BR /&gt;Table[month_year] &amp;lt;= EARLIER(Table[month_year])&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table is the name of your table.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 15:49:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4416172#M175356</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-02-18T15:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum of columns/year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4416760#M175383</link>
      <description>&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="164381" data-lia-user-login="devpp" class="lia-mention lia-mention-user"&gt;devpp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;If these also don't help, please share more detailed information and description to help us clarify your scenario to test.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 02:34:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4416760#M175383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-19T02:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum of columns/year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4416966#M175393</link>
      <description>&lt;P&gt;Hi bhanu_gautam,&lt;/P&gt;&lt;P&gt;The answer is close...here I need to find the cumulative for that year only...In this case it should stop at 172 when 2024 completes and then start fresh for 2025.&lt;/P&gt;&lt;P&gt;For 2025 in the control year it should start from 7 and end at 13&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 05:34:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4416966#M175393</guid>
      <dc:creator>devpp</dc:creator>
      <dc:date>2025-02-19T05:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum of columns/year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4419113#M175462</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="164381" data-lia-user-login="devpp" class="lia-mention lia-mention-user"&gt;devpp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you want ot the cumulative causation cut off at the year end, I'd like to suggest add a condition to check the current year. &lt;BR /&gt;I modify the above formulas to add the filter condition on year to the two expressions:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumm Planned =
CALCULATE (
    SUM ( Table[Plan] ),
    FILTER (
        ALL ( Table ),
        Table[month_year] &amp;lt;= EARLIER ( Table[month_year] )
            &amp;amp;&amp;amp; YEAR ( Table[month_year] ) = YEAR ( EARLIER ( Table[month_year] ) )
    )
)

Cumm Actual =
CALCULATE (
    SUM ( Table[Actual] ),
    FILTER (
        ALL ( Table ),
        Table[month_year] &amp;lt;= EARLIER ( Table[month_year] )
            &amp;amp;&amp;amp; YEAR ( Table[month_year] ) = YEAR ( EARLIER ( Table[month_year] ) )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 07:11:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-of-columns-year/m-p/4419113#M175462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-20T07:11:14Z</dc:date>
    </item>
  </channel>
</rss>

