Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aicirtap027
Frequent Visitor

KPI STATUS in POWER KPI MATRIX

Hi All,

 

I have a table with two comparison value and current value column, i want to show at the KPI STATUS column a conditional formatting. For example my Expected Target is 98% and my Minimum Target is 95%, my current value is 99.67% then my KPI Status will show a green circle which represents that the current value passed the expected target and minimum target. If the current value is 94% then KPI Status will show a red circle and if the current value is 95% then KPI Status will show a yellow circle which says that the current value passed the minimum target. Please help me on how can i create this kind of conditional formatting inside the power kpi matrix visualization. 

 

matrix.JPG

1 ACCEPTED SOLUTION

HI, @aicirtap027 

For your  current value comes also from a measure, so you couldn't use SUM('Source Dump'[CLIENT VIEW]) 

Just try this formula

Color Status =
IF (
    'Source Dump'[CLIENT VIEW] > SUM ( 'Sheet1 (2)'[Exp Target] ),
    1,
    IF (
        'Source Dump'[CLIENT VIEW] < SUM ( 'Sheet (2)'[Min Target] ),
        2,
        IF ( 'Source Dump'[CLIENT VIEW] >= SUM ( 'Sheet (2)'[Min Target] ), 3 )
    )
)

Best Regards,

Lin

 

Community Support Team _ Lin
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

6 REPLIES 6
v-lili6-msft
Community Support
Community Support

hi, @aicirtap027 

Create a measure as blow:

 

Color Status = IF(SUM('Table'[Current])>SUM('Table'[Expected]),1,IF(SUM('Table'[Current])<SUM('Table'[Minmum]),2,IF(SUM('Table'[Current])>=SUM('Table'[Minmum]),3)))

Then drag it into KPI Indicator Index value

Now set conditional color in Formatting->KPI Indicator as below:

5.JPG

 

 

Best Regards,

Lin

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

Hello @v-lili6-msft 

I encountered error while creating this measure, my current value comes also from a measure. Please help me to correct my syntax. aa.JPG

HI, @aicirtap027 

For your  current value comes also from a measure, so you couldn't use SUM('Source Dump'[CLIENT VIEW]) 

Just try this formula

Color Status =
IF (
    'Source Dump'[CLIENT VIEW] > SUM ( 'Sheet1 (2)'[Exp Target] ),
    1,
    IF (
        'Source Dump'[CLIENT VIEW] < SUM ( 'Sheet (2)'[Min Target] ),
        2,
        IF ( 'Source Dump'[CLIENT VIEW] >= SUM ( 'Sheet (2)'[Min Target] ), 3 )
    )
)

Best Regards,

Lin

 

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

Hello @v-lili6-msft,

 

How can I add a syntax into this formula, if there are blank data in the metric name it will not show on the table. My current situation is that when i tried to add the Color Status Measure in the KPI INDICATOR INDEX, it will show the metric name without data.

 

color stat.JPG

hi, @aicirtap027 

Add a conditional as below:

Color Status =
IF ('Source Dump'[CLIENT VIEW]<>blank(), IF ( 'Source Dump'[CLIENT VIEW] > SUM ( 'Sheet1 (2)'[Exp Target] ), 1, IF ( 'Source Dump'[CLIENT VIEW] < SUM ( 'Sheet (2)'[Min Target] ), 2, IF ( 'Source Dump'[CLIENT VIEW] >= SUM ( 'Sheet (2)'[Min Target] ), 3 ) ) )
)

Best Regards,

Lin

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

Dear Team, 

 

I am using Power KPI Matrix but I dont't need the KPI value to be shown in percentage. Is it possible to get it in absolute value, I have created a column calculating difference between current and target value, but still when i put it in the KPI value it shows the percentage. If it is not possible how can I just close the informaiton of percentage which is shown in the tooltip when i hover over the sparklines

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors