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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Closing and Opening Balance

Hi Team,

 

I am having following scenario, 

1-Closing balance of each month should be opening balance of next month.

2-Suppose I have initial Balance in January is 100 so in feb I need to have new column x in which i should have 

x = 100+ClosingCash

3- Now for month of March i should have x+ Closing Cash and so on of for all the months.

 

farhadidrees_0-1631623029687.png

Any help would be highly appreciated.

 

Thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

I think what you are asking is the running total in Power Query. Please refer to 

https://www.myonlinetraininghub.com/quickly-create-running-totals-in-power-query

 

In my opinion, DAX is easier and more convenient than M language for Running total. You can refer to

https://community.powerbi.com/t5/Desktop/Cumulative-Total/td-p/43115

 

 

 

Best Regards,

Stephen Tao

 

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

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

I think what you are asking is the running total in Power Query. Please refer to 

https://www.myonlinetraininghub.com/quickly-create-running-totals-in-power-query

 

In my opinion, DAX is easier and more convenient than M language for Running total. You can refer to

https://community.powerbi.com/t5/Desktop/Cumulative-Total/td-p/43115

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

In an AddColumn dialogue, type:

 

= List.Zip({Table[Opening Balance], List.Skip(Table[Opening Balance)})[1][0]

 

This will give you your last month balance on the the new row, and you can just add the row math.

 

--Nate

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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