Forum Discussion
Dynamic Target in KPI Card
Hi Everyone,
Our targets for employee injuries change every year. In the KPI card i want to see the target for the year that i select in the slicer.
I have the following table called Targets
| Year | Target |
| 2022 | 2.48 |
| 2023 | 2.29 |
| 2024 | 2 |
How do I write a measure that shows the right target value in the KPI card when I select the year in the slicer?
Thanks heaps for your help
Hi Katiek,
Take a look at my simple example:
I create a table with this data:I used this DAX measure:
TargetYear = MIN(T_Targets[Target])And the value in the card visual changing according to the value from the Year of the slicer. Here is an example:
If you could share more information about your model or share a pbix file with same that I could help you
8 Replies
- _AAndradeResident Rockstar
Hi Katiek,
Take a look at my simple example:
I create a table with this data:I used this DAX measure:
TargetYear = MIN(T_Targets[Target])And the value in the card visual changing according to the value from the Year of the slicer. Here is an example:
If you could share more information about your model or share a pbix file with same that I could help you