<?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 in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1125818#M23921</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/157635"&gt;@v-amarsh&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I test the modified formula and it can output the expected result as you shared, please try it if it meets your requirement:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulative Table = 
SUMMARIZE (
    'Role Master',
    'Role Master'[GD SI Role],
    'Role Master'[Resource  Plan],
    'Role Master'[GSI Name],
    'Role Master'[Fiscal Year],
    'Role Master'[Month],
    'Role Master'[Assigned],
    "MyExpectedOutputColumn",
    VAR maxMonth =
        CALCULATE (
            MAX ( 'Role Master'[Month] ),
            FILTER ( ALLSELECTED ( 'Role Master' ), [Assigned] &amp;lt;&amp;gt; BLANK () ),
            VALUES ( 'Role Master'[Fiscal Year] ),
            VALUES ( 'Role Master'[GSI Name] ),
            VALUES ( 'Role Master'[GD SI Role] )
        )
    RETURN
        IF (
            RIGHT ( [Month], 2 ) &amp;lt; RIGHT ( maxMonth, 2 ),
            CALCULATE (
                SUM ( 'Role Master'[Assigned] ),
                FILTER (
                    ALLSELECTED ( 'Role Master' ),
                    RIGHT ( [Month], 2 ) &amp;lt;= RIGHT ( EARLIER ( 'Role Master'[Month] ), 2 )
                ),
                VALUES ( 'Role Master'[Fiscal Year] ),
                VALUES ( 'Role Master'[GSI Name] ),
                VALUES ( 'Role Master'[GD SI Role] )
            )
        )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 09:55:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-28T09:55:29Z</dc:date>
    <item>
      <title>Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1098808#M23782</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I am trying to get a running total on a field based on condition on a different column.&lt;/P&gt;&lt;P&gt;Below is my input table along with expected output column (Cumulative Assigned)to produce . Column to run a cumulative sum is "Assigned" and Condition is to run cumulative until "Resource Plan" reaches max value for that period. In this case max value ocurs at FY20-P10.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Fiscal Year&lt;/TD&gt;&lt;TD&gt;GSI Name&lt;/TD&gt;&lt;TD&gt;GD SI Role&lt;/TD&gt;&lt;TD&gt;Month&lt;/TD&gt;&lt;TD&gt;Resource&amp;nbsp; Plan&lt;/TD&gt;&lt;TD&gt;Assigned&lt;/TD&gt;&lt;TD&gt;Cumulative Assigned&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FY20&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;Offshore&lt;/TD&gt;&lt;TD&gt;FY20-P08&lt;/TD&gt;&lt;TD&gt;61&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FY20&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;On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lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cumulative Table Summary = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMMARIZECOLUMNS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Role Master'[GD SI Role],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Role Master'[Resource Plan],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Role Master'[GSI Name],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Role Master'[Fiscal Year],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Role Master'[Month],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Role Master'[Forecast Resource Plan],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Role Master'[Assigned],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Role Master'[Date],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;"Running Cumulative Assigned",CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM('Role Master'[Assigned]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER('Role Master','Role Master'[Resource Plan]&amp;lt;=MAX('Role Master'[Resource Plan])),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES('Role Master'[Assigned])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Note ; Offshore and onsite values should not be summed up together. (Offshore--&amp;gt;Offshore and Onsite--&amp;gt;Onsite for each period), gorup by each GSI Name&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 12:16:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1098808#M23782</guid>
      <dc:creator>v-amarsh</dc:creator>
      <dc:date>2020-05-20T12:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1098827#M23783</link>
      <description>&lt;P&gt;I don't see anything where you have a sortable column that would allow you to define "previous". If you had that, you could do something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =
  SUMX(
    FILTER(
      'Table',
      [GSI Name] = EARLIER('Table'[GSI Name]) &amp;amp;&amp;amp; 
        [GD SI Role] = EARLIER([GD SI Role]) &amp;amp;&amp;amp; 
          [Some field] &amp;lt;= EARLIER([Some field])
    ),
    [Plan Assigned]
  )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 May 2020 12:28:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1098827#M23783</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-20T12:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1101788#M23801</link>
      <description>&lt;P&gt;Not an answer, but similar idea to the Pareto chart in Excel.&amp;nbsp; Unfortunately the Pareto chart doesn't exist in Power BI, but there have been a few blog posts around the internet on how to create them.&amp;nbsp; The order changes based on the group total, so depending what you need, adding an index column prior to any calculations may not be the solution you need.&amp;nbsp; &amp;nbsp;Then again, this may be a step further than you're looking for.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 21:07:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1101788#M23801</guid>
      <dc:creator>chadrenstrom</dc:creator>
      <dc:date>2020-05-21T21:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1102349#M23803</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/157635"&gt;@v-amarsh&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;SUMMARIZECOLUMNS function will return a table, you can't directly use it in a calculated column. I'd like to suggest you aggregate with the result table(Greg_Deckler's suggestion) or create a new calculated table with your formulas&lt;/FONT&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;. (notice: please add 'allselected' functions to ignore current category group or formula will only calculate on row contents of current category group)&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulative Table=
SUMMARIZE (
    'Role Master',
    'Role Master'[GD SI Role],
    'Role Master'[Resource Plan],
    'Role Master'[GSI Name],
    'Role Master'[Fiscal Year],
    'Role Master'[Month],
    'Role Master'[Forecast Resource Plan],
    'Role Master'[Assigned],
    'Role Master'[Date],
    "Running Cumulative Assigned", CALCULATE (
        SUM ( 'Role Master'[Assigned] ),
        FILTER (
            ALLSELECTED ( 'Role Master' ),
            'Role Master'[Resource Plan] &amp;lt;= EARLIER ( 'Role Master'[Resource Plan] )
        ),
        VALUES ( 'Role Master'[Assigned] )
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 06:32:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1102349#M23803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-22T06:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1102450#M23806</link>
      <description>&lt;P&gt;Thanks for your reply chandrenstrom. I have tried using DAX version equivalent for Parento chart in Excel by some internet sources. However, the result is giving me scalar value of the total sum of values .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 07:17:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1102450#M23806</guid>
      <dc:creator>v-amarsh</dc:creator>
      <dc:date>2020-05-22T07:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1119011#M23867</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/157635"&gt;@v-amarsh&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If my formula not helpful, can you please share a pbix file with some dummy data and expected results to test?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_self"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 07:54:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1119011#M23867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-26T07:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1119170#M23868</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Please find the attached .pbix file. The table on the RHS is the output from the DAX formula.&lt;/P&gt;&lt;P&gt;SUM function used in summarize will always give sum for a group together rather than cumulative progression sum what is expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : My cumulative sum should stop once it reaches the MAX value found in Resource Plan for that particular period. In this dummy data set, max value is seen for period FY20-P10. This can vary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to attach my .pbix here so sending the link for report. Request you to download .pbix from that link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="CumulativeSumDAXPbixFile" href="https://msit.powerbi.com/groups/me/reports/19c5c614-0d1d-49ae-a681-55d54cb16729?ctid=72f988bf-86f1-41af-91ab-2d7cd011db47" target="_self"&gt;https://msit.powerbi.com/groups/me/reports/19c5c614-0d1d-49ae-a681-55d54cb16729?ctid=72f988bf-86f1-41af-91ab-2d7cd011db47&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 09:26:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1119170#M23868</guid>
      <dc:creator>v-amarsh</dc:creator>
      <dc:date>2020-05-26T09:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1125469#M23916</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/157635"&gt;@v-amarsh&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I can't access your link, can you please upload the sample to 'onedrive for business' and share the link here?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 08:07:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1125469#M23916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T08:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1125606#M23918</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have uplaoded the file to One drive for business and shared with you. Below is the link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://microsoft-my.sharepoint.com/:u:/p/v-amarsh/EX-TUXMV6PtHhMeFdxGXe_oBue4ky_qToMD9mrrMign9-Q?e=fuT5HT" target="_blank"&gt;https://microsoft-my.sharepoint.com/:u:/p/v-amarsh/EX-TUXMV6PtHhMeFdxGXe_oBue4ky_qToMD9mrrMign9-Q?e=fuT5HT&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 08:51:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1125606#M23918</guid>
      <dc:creator>v-amarsh</dc:creator>
      <dc:date>2020-05-28T08:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1125818#M23921</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/157635"&gt;@v-amarsh&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I test the modified formula and it can output the expected result as you shared, please try it if it meets your requirement:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulative Table = 
SUMMARIZE (
    'Role Master',
    'Role Master'[GD SI Role],
    'Role Master'[Resource  Plan],
    'Role Master'[GSI Name],
    'Role Master'[Fiscal Year],
    'Role Master'[Month],
    'Role Master'[Assigned],
    "MyExpectedOutputColumn",
    VAR maxMonth =
        CALCULATE (
            MAX ( 'Role Master'[Month] ),
            FILTER ( ALLSELECTED ( 'Role Master' ), [Assigned] &amp;lt;&amp;gt; BLANK () ),
            VALUES ( 'Role Master'[Fiscal Year] ),
            VALUES ( 'Role Master'[GSI Name] ),
            VALUES ( 'Role Master'[GD SI Role] )
        )
    RETURN
        IF (
            RIGHT ( [Month], 2 ) &amp;lt; RIGHT ( maxMonth, 2 ),
            CALCULATE (
                SUM ( 'Role Master'[Assigned] ),
                FILTER (
                    ALLSELECTED ( 'Role Master' ),
                    RIGHT ( [Month], 2 ) &amp;lt;= RIGHT ( EARLIER ( 'Role Master'[Month] ), 2 )
                ),
                VALUES ( 'Role Master'[Fiscal Year] ),
                VALUES ( 'Role Master'[GSI Name] ),
                VALUES ( 'Role Master'[GD SI Role] )
            )
        )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 09:55:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-sum/m-p/1125818#M23921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T09:55:29Z</dc:date>
    </item>
  </channel>
</rss>

