Forum Discussion
KPI with row level targets
- 9 years ago
Hi shill1000,
In that case, you just need to make a little adjustment to above measures:
Measure target = CALCULATE(SUM('KPI'[Target Value]),ALLSELECTED('KPI')) Measure Performance = CALCULATE(SUM('KPI'[SLA Performance]),ALLSELECTED('KPI'))Best regards,
Yuliana Gu
Hi shill1000,
You can create two measures and add measures into KPI target area and indicator area, instead of directly adding [SLA Performance] and [Target value] fields.
Measure target = CALCULATE(SUM('KPI'[Target Value]),ALL('KPI'))
Measure Performance = CALCULATE(SUM('KPI'[SLA Performance]),ALL('KPI'))
Best regards,
Yuliana Gu
- shill10009 years ago
Helper IV
Thanks for that, I hadn;t thought of a measure for both values. However, it fixes one problem and creates another. When I apply a contract filter via the table, a slicer or a page level filter, the KPI isn;t changing to reflect the filter. I was trying to get the KPI to show an overall figure when no selection is made and tehna combined figure if specific contracts are selected?
- v-yulgu-msft9 years ago
Microsoft Employee
Hi shill1000,
In that case, you just need to make a little adjustment to above measures:
Measure target = CALCULATE(SUM('KPI'[Target Value]),ALLSELECTED('KPI')) Measure Performance = CALCULATE(SUM('KPI'[SLA Performance]),ALLSELECTED('KPI'))Best regards,
Yuliana Gu- shill10009 years ago
Helper IV
That did it, many thanks.