Forum Discussion
asfdwd
3 years agoFrequent Visitor
Fiscal YTD calculation using DATESYTD get 50% result wrong.
BillUnitsMonthly = CALCULATE(SUM(MonthlyReport[Subscript]), ALL('Calendar'[FiscalYear]), 'Calendar'[FiscalYearNo]<=MAX('Calendar'[FiscalYearNo]) ) BillUnits FYTD = CALCULATE([BillUnit...
- 3 years ago
pls try this
BillUnitsMonthly = CALCULATE(SUM(MonthlyReport[Subscript]), REMOVEFILTERS(),VALUES('Calendar'[FiscalMonth]), 'Calendar'[FiscalYearNo]<=MAX('Calendar'[FiscalYearNo]) )
Ahmedx
Super User
3 years agopls try this
BillUnitsMonthly = CALCULATE(SUM(MonthlyReport[Subscript]),
REMOVEFILTERS(),VALUES('Calendar'[FiscalMonth]),
'Calendar'[FiscalYearNo]<=MAX('Calendar'[FiscalYearNo])
)asfdwd
3 years agoFrequent Visitor
Not understand the logic behind it. But this code works perfectly for my report!
Thank you.