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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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