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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dstramilov
Helper II
Helper II

Cumulative Total - Zero Period, Balance Sheet Accounts

Hello,

 

How do we calculate cumulative balance for financial data like balance sheet Asset/Liability accounts. 

In our ERP GL_Summary table holds last year balance as "ZERO period".

Example 1. period Zero current fiscal year + period 1 activity = current ending balance for period 1

Example 2. period Zero current fiscal year + period 1 activity + period 2 activity = current ending balance for period 2.

 

11 REPLIES 11
v-yuezhe-msft
Employee
Employee

Hi @dstramilov,

Could you please share sample data of your scenario and post expected result here?

In addition, you can review the following similar blogs about how to calculate Cumulative Total using DAX formulas.
Cumulative Total
Handling cumulative GL account balances in Power Pivot


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

GL AccountYearPeriodDebitCreditBalance
1100201500 0
11002015150-546
11002015263-6051
11002015376-6664
11002015489-7285
110020155102-78114
110020156115-84151
110020157128-90196
110020158141-96249
110020159154-102310
1100201510167-108379
1100201511180-114456
1100201512193-120541
110020160206-126621
110020161219-132709
110020162232-138805
110020163245-144909
110020164258-1501021
110020165271-1561141
110020166284-1621269
110020167297-1681405
110020168310-1741549
110020169323-1801701
1100201610336-1861861
1100201611349-1922029
1100201612362-1982205

 

Beginning balance for GL account 2016 is $621 & for 2015 $0. Period 0 allows to go back to any year & pull finincial statement (Balance Sheet) without going back all the way.

Hi @dstramilov,

I am not quite sure what is your expected result. Please add a new column using the following formula and check if the following screenshot returns your desired result .

Column 2 = CALCULATE(SUM(Table2[Balance]),FILTER(ALLEXCEPT(Table2,Table2[Period]),Table2[Year]=EARLIER(Table2[Year])),FILTER(ALL(Table2),Table2[Period]<=EARLIER(Table2[Period])))

1.PNG


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Lydia,

 

Think about this as you got checking bank account. 

You got deposits & withdrawls and at any point of time you can see your running total balance.

Problem with bank, that you can't pull all historical information 10 year history, but can pull 2-3 years, so any fiscal period start balance is period ZERO in my example. Column you added Column 2 should equal to Balance column, curreny it is not.

You need to use debit & credit column to find running total.

 

Thank you fro your help. 

 

Hi @dstramilov,

Please help to post the expected result here so that we can provide you appropriate method.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft take a look at attached file, please.

https://dl.dropboxusercontent.com/u/28420733/BS_Period_Zero.xlsx

 

Period zero allows us to query just 2016 fiscal year and get beginning balance for Balance Sheet accounts.

 

 

Capture.PNG

Capture.PNG

 

 

 

 

 

 

 

@v-yuezhe-msft see my update, please.

@v-yuezhe-msft  do you have any ideas how to do this?

Do you need extra info details on this topic?

Hi,

 

I'm struggeling with the same problem. Did you manage to solved this? If so please share how you did it.

 

Thanks,

Rui

No, this is still an open item for me. What accounting system do you use?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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