Forum Discussion
conditional formatting for matrix rows based on different condition
- Anonymous2 years ago
Hi rajendracheraku ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a color measure.
color = SWITCH(TRUE(), [Measure] >=95 && SELECTEDVALUE('Table'[KPI])="A","Green", [Measure] >=93 && SELECTEDVALUE('Table'[KPI])="B","Green", [Measure] >=5 && SELECTEDVALUE('Table'[KPI])="C","Green", "Red")(3) Setting the conditional format and then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi rajendracheraku ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a color measure.
color = SWITCH(TRUE(),
[Measure] >=95 && SELECTEDVALUE('Table'[KPI])="A","Green",
[Measure] >=93 && SELECTEDVALUE('Table'[KPI])="B","Green",
[Measure] >=5 && SELECTEDVALUE('Table'[KPI])="C","Green",
"Red")
(3) Setting the conditional format and then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for providing PBIX file as well