Forum Discussion
DAX problem calculating Prior Fiscal YTD
- Anonymous9 years ago
Hi Yunka,
If Understanding is right you need the running total upto the week for the previous year.
If so just a small tweak to your expression will do. Change the LYMetric as
LY Metric:=CALCULATE([Production Revenue], FILTER(ALL(Dates), Dates[FiscalWeek] <= MAX(Dates[FiscalWeek]) && Dates[FiscalYear] = MAX(Dates[FiscalYear]) - 1))
Change is highlighted in bold colour.
Cheers
CheenuSing
Hi Yunka,
If Understanding is right you need the running total upto the week for the previous year.
If so just a small tweak to your expression will do. Change the LYMetric as
LY Metric:=CALCULATE([Production Revenue], FILTER(ALL(Dates), Dates[FiscalWeek] <= MAX(Dates[FiscalWeek]) && Dates[FiscalYear] = MAX(Dates[FiscalYear]) - 1))
Change is highlighted in bold colour.
Cheers
CheenuSing
Thank you Anonymous, that works!