cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shill1000 Member
Member

KPI with row level targets

I'm trying to get my head around something and I'm not sure I'm taking the right approach. I have a table of contract names, an achievement value for each contract and a target for each specific contract. The targets are currently numeric only (will be looking at combining percentages next) and I can get a KPI to show performance against target for each contract when I apply a filter, but I can't get it to reflect an overall postion properly. I use a measure to Sum the target values.

 

It works fine when individual rows are selected, but the overall is not summarised correctly; instead of totalling all of the performance values and the targets it seems to only be showing the last one? See example below - I'd expect it to show a value f 581 against a target of 583 (failed).

 

KPI Example.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
v-yulgu-msft Super Contributor
Super Contributor

Re: KPI with row level targets

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'))

1.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yulgu-msft Super Contributor
Super Contributor

Re: KPI with row level targets

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'))

1.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
shill1000 Member
Member

Re: KPI with row level targets

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?

Highlighted
v-yulgu-msft Super Contributor
Super Contributor

Re: KPI with row level targets

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'))

1.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

shill1000 Member
Member

Re: KPI with row level targets

That did it, many thanks.

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 138 members 1,773 guests
Please welcome our newest community members: