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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
kiranbchitari
Frequent Visitor

How to calculate cumulative total if we have a similar dates?

How to calculate cumulative total if we have similar dates. How we can calculate the running balance in the following example?Running Balance.PNG

 

 

 

 

1 ACCEPTED SOLUTION

@kiranbchitari,

 

You may add an index column in Query Editor and research the code generated by Quick measure Running total.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Stachu
Community Champion
Community Champion

you would need an additional column that would clarify the order of calculations in the running total. In DAX the 'physical' order of rows in the table is not taken into account



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

@Stachu So you are telling that I need a dynamic index column which will defines the order. But the problem is I am having a huge data. Will you please tell me the DAX formula for that. 

@kiranbchitari,

 

You may add an index column in Query Editor and research the code generated by Quick measure Running total.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors