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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.