Forum Discussion
AndrejZitnay
Post Patron
5 years agoHelp with openning and closed balance
Hello all, Would you be so kind and help me out with openning and closed balances? I have 4 measures from 3 tables and 1 merge date table for months. I struggle to find solution for openning...
- 5 years ago
AndrejZitnay , One month less should do
Opening balance = CALCULATE([All measure ],filter(allselected(Table),Table[Date] <=maxX(Table, dateadd(Table[Date],-1, month))))
AndrejZitnay
Post Patron
5 years agoHello amitchandak
You are star.
I have my closing balance now.
How I can get opening balance?
I know that it should be closing balance from last month.
Thanks.
Andrej
amitchandak
Super User
5 years agoAndrejZitnay , One month less should do
Opening balance = CALCULATE([All measure ],filter(allselected(Table),Table[Date] <=maxX(Table, dateadd(Table[Date],-1, month))))
- AndrejZitnay5 years ago
Post Patron
- mehmet5 years agoFrequent Visitor
Hi, I applied to my problem but i faced dependency problem. You use filter so i wrote my calculated closing balance (that depends on opeing balance with formulas) to a table as calculated column and try to find opening balance