Forum Discussion
YoY Measure showing only final
- 8 years ago
Hi,
Try this
=IF(ISERROR(CALCULATE([Gross Margin],NEXTYEAR(Calendar[Year]))),([Gross Margin]-CALCULATE([Gross Margin],PREVIOUSYEAR
(Calendar[Year])))/[Gross Margin],BLANK())
Ensure that the years in your visual are dragged from the calendar table and there is a relationship between the Date column of your source data table to the date column of your calendar table.
Hope this helps.
Hi,
Try this
=IF(ISERROR(CALCULATE([Gross Margin],NEXTYEAR(Calendar[Year]))),([Gross Margin]-CALCULATE([Gross Margin],PREVIOUSYEAR
(Calendar[Year])))/[Gross Margin],BLANK())
Ensure that the years in your visual are dragged from the calendar table and there is a relationship between the Date column of your source data table to the date column of your calendar table.
Hope this helps.