Forum Discussion
KPI color when target is missing
- 8 years ago
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
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