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
Anonymous
Not applicable

KPI color when target is missing

I'm using the manual KPI visual but I encounter a problem when the target is missing. Because then the KPI colors green. But I want the neutral color there. How to solve that?

colorkpi.JPG

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @Anonymous,

 

I don't think there is currently an option to do it directly. An alternative solution could be that creating a new calculate column to replace the missing Target value with a neutral value, then show the new created calculate column as Target on your KPI visual to get the expected result. The formula(DAX) below to create the calculate column is for your reference. Smiley Happy

Column = IF ( ISBLANK ( 'Table1'[Target] ), 100 )

Note: You'll need to replace 'Table1'[Target] with your real table name and column name, and 100 with a neutral value in your scenario.

 

Regards

View solution in original post

1 REPLY 1
v-ljerr-msft
Employee
Employee

Hi @Anonymous,

 

I don't think there is currently an option to do it directly. An alternative solution could be that creating a new calculate column to replace the missing Target value with a neutral value, then show the new created calculate column as Target on your KPI visual to get the expected result. The formula(DAX) below to create the calculate column is for your reference. Smiley Happy

Column = IF ( ISBLANK ( 'Table1'[Target] ), 100 )

Note: You'll need to replace 'Table1'[Target] with your real table name and column name, and 100 with a neutral value in your scenario.

 

Regards

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.