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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

Balance at every timeframe, OB from previous year

Dear PBI wizards


I'm having troubles of what logic shoud I choose for following task:


Generally I want to create liquidity-oriented dashboard (incl. monthly historic cash balances, ratio based KPI's, working capital, runway etc.) based on balance at every month (flexible to status for every date balance if needed).

Data is based on Dynamics Business Central general ledger and the issue is that debit-credit amount data starts from 1st Jan 2022 but the opening balace is posted 31th of Dec 2021 (ERP switch was done).
How can I have every account add opening balances amounts from 2021 to get closing balance amount at every chosen date frame at 2022 and onwards?

Thanks in advance

Frequent Visitor

@v-jianboli-msft  thank you to willing to help

Basically first I'd like to replicate balance sheet from building it out of General Ledger table. Created simplified data with the opening balance issue as following:
Screenshot 2022-11-11 at 00.23.06.png








We started the table (because of switched ERP) from closing balance of each account on 31th Dec 2021 and would like to have cumulative closings for each month of 2022. From this example data,

account 10001 balance for

January is 50000+200-8000=42200 and for

February its 50000+200-8000+200-8000=34400.

For account 10002 respectively,

January 25000-500+1400=25900 and

February 25000-500+1400-3000+600=23500.

Based on shown replicated balance sheet elements I'd like to build ratio measures, for example account 10001 divided by 10002: 

January 42200/25900=1.63
February 34400/23500=1.46
and be able to use the ratios in chart timeline to show trend.

Can you give me a hint what steps and logic needs to be used to solve it when the starting point is shown general ledger type of source data?


Really appreciate for the guidlines

Community Support
Community Support

Hi @gerrysulp ,


Sorry for that the information you have provided is not making the problem clear to me. Can you please share more details to help us clarify your scenario?

Please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.


Refer to:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly


Best Regards,

Jianbo Li

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

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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