Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
vidyasagar159
Helper II
Helper II

Cumulative SUM or Running Totals on Dates using only Custom Column in a Query Editor

Hi All,

I am a beginner. Need some help on running total or cumulative sum on the DATES column using Query editor custom column. 

 

Cumulative sum or Running Totals on Dates.png

 

From the above image I would like to calculate a simple Running Total or Cumulative SUM for "Values" using "As of Date" only for MFlag = 'Flows'. This I want to achieve in a custom column. I don't want to do it in DAX. Because my output values are references to other tables.

 

Aggregation:

 

Flows on 07/19/2019 = 3945534366

Cumulative Flow on 08/19/2019 is (3945534366) + (-88750950) = 3856783416

 

 

Thanks,

Vidya

1 REPLY 1
amitchandak
Super User
Super User

It is a case of cumulative subtotal. Please refer

 

https://community.powerbi.com/t5/Desktop/Calculating-Cumulative-Monthly-Totals/td-p/100756

https://community.powerbi.com/t5/Desktop/Cumulative-Subtotals/td-p/395842

https://community.powerbi.com/t5/Desktop/Cumulative-Running-Balance-in-a-Matrix/td-p/490907

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information
Thanks.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.