Forum Discussion
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?
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. :smileyhappy:
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
1 Reply
- v-ljerr-msftMicrosoft 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. :smileyhappy:
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