Forum Discussion
KPI Card Colour Coding with Multiple Goals
- Anonymous5 years ago
Hi,
You may not have given me the exact solution I was looking for, but you put me on the right track so thanks for that! I eventually managed to solve it by creating a measure:IF([ ACT]>[Target ];"Green";"Yellow")
I added this to conditional formatting on the neutral value and it seems to have worked so thanks for the inspiration.
Hi Anonymous ,
Thank you for explanation. The build-in kpi visual will not compare the indicator with the target value. It will not compare the values between your target values.
So in the situations below it will show yellow:
PY>ACT>TGT PY < ACT < TGT
As a workaround, you can use card visual and use the conditional formatting for the data color:
And create a measure for the color format like:
Measure = SWITCH(TRUE(),[ACT]>[TGT]&&[ACT]>[PY],"Green",[ACT]>[TGT]&&[ACT]<[PY],"Green",[ACT]<[TGT]&&[ACT]<[PY],"Red",[ACT]>[PY]&&[ACT]<[TGT],"Yellow")
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi,
You may not have given me the exact solution I was looking for, but you put me on the right track so thanks for that! I eventually managed to solve it by creating a measure:
I added this to conditional formatting on the neutral value and it seems to have worked so thanks for the inspiration.