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.

Location Wise Stock
MonthOpeningABSGDCTCPADGClosing Blance
Jan10,0005001,00030020012,000
Feb300900400200
Mar4001,000500150
Apr5001,287455450
May600999343300
Jun4501,500786200
Jul
Aug
Sep
Oct
Nov
Dec
10,0002,7506,6862,7841,50012,000

<tbody>
</tbody>

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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
I think this might do it, if I understand your query properly.


Excel 2012
ABCDEFG
1Location Wise Stock
2MonthOpeningABSGDCTCPADGClosing Blance
3Jan10000500100030020012000
4Feb1200030090040020013800
5Mar13800400100050015015850
6Apr15850500128745545018542
7May1854260099934330020784
8Jun20784450150078620023720
9Jul2372023720
10Aug2372023720
11Sep2372023720
12Oct2372023720
13Nov2372023720
14Dec2372023720
1510000275066862784150023720
Sheet15
Cell Formulas
RangeFormula
G3=B3+SUM(C3:F3)
G4=B4+SUM(C4:F4)
G5=B5+SUM(C5:F5)
G6=B6+SUM(C6:F6)
G7=B7+SUM(C7:F7)
G8=B8+SUM(C8:F8)
G9=B9+SUM(C9:F9)
G10=B10+SUM(C10:F10)
G11=B11+SUM(C11:F11)
G12=B12+SUM(C12:F12)
G13=B13+SUM(C13:F13)
G14=B14+SUM(C14:F14)
G15=B15+SUM(C15:F15)
B4=G3
B5=G4
B6=G5
B7=G6
B8=G7
B9=G8
B10=G9
B11=G10
B12=G11
B13=G12
B14=G13
B15=B3
C15=SUM(C3:C14)
D15=SUM(D3:D14)
E15=SUM(E3:E14)
F15=SUM(F3:F14)
 
Last edited:
Upvote 0
Thanks DRSteele for your response.

I guess you are responding to keep in mind excel formulas were I am inquiring with powerpivot feature, I hope my question is now more transparent.
 
Upvote 0
Is your screenshot an actual pivot table? Are all the columns measures (calculated fields) that you created?
 
Upvote 0
No they are not measures, it comes from single tables and I have used power pivot table and columns.

I have thought to creating separate measures for each type, but then I have came to across point from user that how date will be display when they create new type and for that type how to create dynamic columns and add into closing total.
 
Upvote 0
TimRodman, Thanks

Your message sounds exciting and interesting too,

It seems the topic which which are discussing looks like challenging, so let's start and see if we come across to some short of solution.
 
Upvote 0
The basic idea of the formula in the link that I sent is that you are filtering, then summing on the data that you filtered. I just wanted to encourage you not to be intimidated by it.
 
Upvote 0
I haven't seen any link, do I miss anything ?

I am learning power pivot from last few months and finding very interesting and exciting and I am really thankful that Mr. Excel form gives me more boost to learn.
 
Upvote 0

Forum statistics

Threads
1,214,611
Messages
6,120,510
Members
448,967
Latest member
screechyboy79

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