Forum Discussion
Selective display of data in visualisation
- 3 years ago
Hi Anonymous ,
you need to use these 3 measures and you have to use a calendar table related to the Sales table:
Rev 2022 = CALCULATE(SUM(Table[Rev]),Calendar[Year] = 2022)
Rev 2021 = CALCULATE(SUM(Table[Rev]),Calendar[Year] = 2021)
%Change = DIVIDE([Rev 2022] - [Rev 2021], [Rev 2021])
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
you need to use these 3 measures and you have to use a calendar table related to the Sales table:
Rev 2022 = CALCULATE(SUM(Table[Rev]),Calendar[Year] = 2022)
Rev 2021 = CALCULATE(SUM(Table[Rev]),Calendar[Year] = 2021)
%Change = DIVIDE([Rev 2022] - [Rev 2021], [Rev 2021])
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.