<?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: Help needed: Measure to return a cumulative (i.e. running) sum for a calculated column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-Measure-to-return-a-cumulative-i-e-running-sum-for-a/m-p/2694038#M81205</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="423469" data-lia-user-login="simonm8008" class="lia-mention lia-mention-user"&gt;simonm8008&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have created a simple sample, please refer to it to see if it helps you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://m365x24147921-my.sharepoint.com/:u:/g/personal/admin_m365x24147921_onmicrosoft_com/EQvrivjOLCBOkaMSkBT-osgB002Q08lb4FeTMsZwxSKGYQ?e=HeC3GU" target="_blank"&gt;sum for a calculated column.pbix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Create a measure.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure =
CALCULATE (
    SUM ( 'Table'[Planned] ),
    FILTER ( ALL ( 'Table' ), 'Table'[date] &amp;lt;= SELECTEDVALUE ( 'Table'[date] ) )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;If the planed column is written by a measure.&lt;/P&gt;&lt;P&gt;Please have a try.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure 2 = SUMX(FILTER(ALL('Table'),'Table'[date]&amp;lt;=SELECTEDVALUE('Table'[date])),[Planned_])&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I have misunderstood your meaning, you can create simple data with excel, then show me the screenshots about the data and the desired output your want.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 05:35:31 GMT</pubDate>
    <dc:creator>memepu</dc:creator>
    <dc:date>2022-08-11T05:35:31Z</dc:date>
    <item>
      <title>Help needed: Measure to return a cumulative (i.e. running) sum for a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-Measure-to-return-a-cumulative-i-e-running-sum-for-a/m-p/2689050#M80899</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fairly new to Power BI, so there's probably a simple solution for my problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following table ('Burnup Data') where I am trying to calculate a running total (Planned Cumulative) based on Planned. However, the existing Planned Cumulative is not the Expected Result:&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following measures:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Planned = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;Sprint&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;[Sprint]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;MAXDate&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Current PI - All User Stories'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MAXDate&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Current PI - All User Stories'[Story Points]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Current PI - All User Stories'[Date]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MAXDate&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Current PI - All User Stories'[Sprint]&lt;/SPAN&gt; &lt;SPAN&gt;IN&lt;/SPAN&gt;&lt;SPAN&gt; { &lt;/SPAN&gt;&lt;SPAN&gt;Sprint&lt;/SPAN&gt;&lt;SPAN&gt; })&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;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V&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Aug 2022 07:55:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-Measure-to-return-a-cumulative-i-e-running-sum-for-a/m-p/2689050#M80899</guid>
      <dc:creator>simonm8008</dc:creator>
      <dc:date>2022-08-09T07:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed: Measure to return a cumulative (i.e. running) sum for a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-Measure-to-return-a-cumulative-i-e-running-sum-for-a/m-p/2689343#M80919</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="423469" data-lia-user-login="simonm8008" class="lia-mention lia-mention-user"&gt;simonm8008&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check this post&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Desktop/Cumulative-Sum-using-DAX/td-p/1501927" target="_blank"&gt;Solved: Cumulative Sum using DAX - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ritesh&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 09:33:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-Measure-to-return-a-cumulative-i-e-running-sum-for-a/m-p/2689343#M80919</guid>
      <dc:creator>ribisht17</dc:creator>
      <dc:date>2022-08-09T09:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed: Measure to return a cumulative (i.e. running) sum for a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-Measure-to-return-a-cumulative-i-e-running-sum-for-a/m-p/2694038#M81205</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="423469" data-lia-user-login="simonm8008" class="lia-mention lia-mention-user"&gt;simonm8008&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have created a simple sample, please refer to it to see if it helps you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://m365x24147921-my.sharepoint.com/:u:/g/personal/admin_m365x24147921_onmicrosoft_com/EQvrivjOLCBOkaMSkBT-osgB002Q08lb4FeTMsZwxSKGYQ?e=HeC3GU" target="_blank"&gt;sum for a calculated column.pbix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Create a measure.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure =
CALCULATE (
    SUM ( 'Table'[Planned] ),
    FILTER ( ALL ( 'Table' ), 'Table'[date] &amp;lt;= SELECTEDVALUE ( 'Table'[date] ) )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;If the planed column is written by a measure.&lt;/P&gt;&lt;P&gt;Please have a try.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure 2 = SUMX(FILTER(ALL('Table'),'Table'[date]&amp;lt;=SELECTEDVALUE('Table'[date])),[Planned_])&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I have misunderstood your meaning, you can create simple data with excel, then show me the screenshots about the data and the desired output your want.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 05:35:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-Measure-to-return-a-cumulative-i-e-running-sum-for-a/m-p/2694038#M81205</guid>
      <dc:creator>memepu</dc:creator>
      <dc:date>2022-08-11T05:35:31Z</dc:date>
    </item>
  </channel>
</rss>

