Forum Discussion
KPI card - multiple period (years)
Hi everyone,
First time poster, long time viewer.
Is it possible for a KPI card to compare actual vs plan across two years (i.e. 24 months)?
When I select both years in the filter, only 2020 appears.
Hi dever2018,
Below is my design
You could create another table like below
Table 3 = UNION ( VALUES ( t6[date].[Year] ), ROW ( "subname", "TOTAL" ) )Then use this in KPI
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 Replies
- sturlaws
Resident Rockstar
Hi Anonymous,
have you considered handling it with a measure?Revenue = CALCULATE ( SUM ( Table[RevenueCol] ); FILTER ( ALL ( date ); year <= SELECTEDVALUE ( year ) && year >= SELECTEDVALUE ( year ) - 1 ) )- AnonymousNot applicable
Will give it a go - appreciate the prompt response!
- dax
Community Support
Hi dever2018,
Below is my design
You could create another table like below
Table 3 = UNION ( VALUES ( t6[date].[Year] ), ROW ( "subname", "TOTAL" ) )Then use this in KPI
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable