Forum Discussion
Need help with opening balance
- 6 years ago
Anonymous , In opening balances you can create a date like
Date = Date([Year],1,1)
Join it with date and Catagory too
You can use YTD from both opening balances and Transaction and add it.
YTD = CALCULATE(sum(Opening Balance[Opening Balance])+ sum(Transaction[Amount]),DATESYTD('Date'[Date],"12/31"))
Power BI — YTD Questions — Time Intelligence 1–5
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
Anonymous , In opening balances you can create a date like
Date = Date([Year],1,1)
Join it with date and Catagory too
You can use YTD from both opening balances and Transaction and add it.
YTD = CALCULATE(sum(Opening Balance[Opening Balance])+ sum(Transaction[Amount]),DATESYTD('Date'[Date],"12/31"))
Power BI — YTD Questions — Time Intelligence 1–5
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
- Anonymous6 years agoNot applicable
I think that did the trick, thank you! amitchandak
- Anonymous6 years agoNot applicable
amitchandak can you maybe help me with one more thing regarding this?
I tried to put a filter in the measure, but then everything bundles into january, if I have no filter it shows in all months. Do you know how to fix that?
CALCULATE(SUM(BalanceLines[OPEN])+SUM(TransactionLinesBulk[Bedrag]),DATESYTD(Dates[Date],"31-12"), FILTER(GLAccountClass, LEFT(GLAccountClass[ClassificationCode],4)="BIva" || LEFT(GLAccountClass[ClassificationCode],4)="BMva" || LEFT(GLAccountClass[ClassificationCode],4)="BEff" || LEFT(GLAccountClass[ClassificationCode],4)="BLim" || LEFT(GLAccountClass[ClassificationCode],4)="BFva" || LEFT(GLAccountClass[ClassificationCode],4)="BVor" || LEFT(GLAccountClass[ClassificationCode],4)="BVrd" || LEFT(GLAccountClass[ClassificationCode],4)="BPro" ))Measure 3 without filter
Measure 2 with filter (also marked yellow underneath)