I am working on a report where I take the output of a financial template forecast and include it in PowerBI.
For the most part it is all fine and I have followed the financial reporting course and templates so that all of the data shows up in the right place
My issue arises on the opening and closing cash balances.
In the actual data set that I am using I have the opening cash for each weekly period however the issue with that when I use a cumulative calculation or in the total column my opening cash becomes the sum of all of the opening cash balances rather than the actual opening. (page 2 in the pbix file)
I tried to address this by just including the actual first opening cash balance in the forecast period, however I am struggling to understand what Dax I need so that in the first period it takes the actual opening but from then on the table should take the prior week closing figure. (page 1
Test BI_Closing balances.pbix (1.3 MB)
Updated cash flows - Alton version.xlsx (120.6 KB)
in the pbix)
I can use either one as long as I get Dax to give me the right answer. Any help would be greatly appreciated