I am new to Power BI and Dax and am working through the financial reporting course. I’m up to the Balance Sheet section and have hit a road block. The example BS data in the course already includes cumulative balances and my GL data is in raw form (GL entries table from Business Central) so I need to calculate the cumulative balances at the specific reporting date. Please can someone direct me where I can find some material on how to do this please? I’ve tried googling, trawling through Youtube and tried the following measure but its not producing any results.
I found a work around for this - YTD measures didn’t quite work for me as I wanted one table with accumulated balances so that the report could be rolled back if required - I am building out our monthly board pack and quite often we need to go back to prior periods for reporting in due diligence processes.
I needed 2 filters to summarise the data - by reporting category and by month and also needed to figure out how to calculate the accumulated balances. Struggled for a while to get it to work but got there in the end by creating a summary table with a calculated column with the accumulated balances.
Initially I hit a road block where if an account has no transactions in the particular reporting period then it wasn’t reporting that account in the balance sheet report (my balance sheet needs 13 months history by month in the report too).
So uploaded a “monthly” date table which contains all the months I need and then crossjoined the chart of accounts and monthly date tables and then brought in the movement from the GL entries table and calculated the accumulated balances off that.
Probably not the most efficient way of doing this, but as a newbie its worked for me.
Including the DAX below for anyone else that comes across this to be resolved: