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

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

Reply
marcush
Frequent Visitor

How to calculate ending balances

So I have financial account data that just says the net change for that period. Is there a way to sum all previous net changes up to that date in power BI? Essentially I am trying to calculate the ending balances for each period in one column. It gets a little trickier when I have multiple accounts in the same data so I want it to be able to recognize different accounts if possible. Otherwise I think I will have to load all of the accounts individually into Power BI. Let me know if anyone has any suggestions.

 

Thanks!

1 REPLY 1
fbrossard
Kudo Commander
Kudo Commander

Hi @marcush,

 

For your needs, you can use several DAX functions :

 

- CLOSINGBALANCEMONTH, CLOSINGBALANCEQUARTER, CLOSINGBALANCEYEAR

- LASTNONBLANK

- ENDOFMONTH, ENDOFQUARTER, ENDOFYEAR

 

and coupled them with a filter function or a CALCULATE.

 

This post should help you 

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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