Calculation of Opening and Closing Balance (DAX)

tusharmehta

New Member
Joined
May 12, 2014
Messages
34
Hello Everyone,

How are you doing ?

I have came across to some type of situation where I need to transfer calculated closing balance figures next month opening balance figure.

I have tried using calculation and other dax formula but I am not able to produce the result which I am looking for.

It seems I am missing something and it could be simple but I am not able to to figure out.

So will you please guide me the same.

[TABLE="class: grid, width: 489, align: center"]
<tbody>[TR]
[TD="colspan: 7, align: center"]Location Wise Stock[/TD]
[/TR]
[TR]
[TD]Month[/TD]
[TD]Opening[/TD]
[TD]ABS[/TD]
[TD]GDC[/TD]
[TD]TCP[/TD]
[TD]ADG[/TD]
[TD]Closing Blance[/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD="align: right"]10,000[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]1,000[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]12,000[/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD][/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]900[/TD]
[TD="align: right"]400[/TD]
[TD="align: right"]200[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mar[/TD]
[TD][/TD]
[TD="align: right"]400[/TD]
[TD="align: right"]1,000[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]150[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Apr[/TD]
[TD][/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]1,287[/TD]
[TD="align: right"]455[/TD]
[TD="align: right"]450[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]May[/TD]
[TD][/TD]
[TD="align: right"]600[/TD]
[TD="align: right"]999[/TD]
[TD="align: right"]343[/TD]
[TD="align: right"]300[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jun[/TD]
[TD][/TD]
[TD="align: right"]450[/TD]
[TD="align: right"]1,500[/TD]
[TD="align: right"]786[/TD]
[TD="align: right"]200[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jul[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Aug[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sep[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Oct[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Nov[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dec[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]10,000[/TD]
[TD="align: right"]2,750[/TD]
[TD="align: right"]6,686[/TD]
[TD="align: right"]2,784[/TD]
[TD="align: right"]1,500[/TD]
[TD="align: right"]12,000[/TD]
[/TR]
</tbody>[/TABLE]

As mentioned on above mentioned sheet I need to learn how to transfer each month closing to next month and in next month it will get calculated as opening.

Thanks in Advance.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Thanks I found the url and I will start looking into it.

Appreciate for your responses and guidance.
Hy tusharmehta! Have you got the solution?
Please share the solution with me. I also need to calculate opening closing balance for power pivot but i am facing problems.
 
Upvote 0

Forum statistics

Threads
1,223,737
Messages
6,174,206
Members
452,551
Latest member
croud

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top