Forum Discussion
conditional format first column matrix
Hi, I have this matrix:
I need to apply a conditional format based on Score P1 column value. If =Promotor, then green, if =Pasivo, then yellow, if Detractor=Red...is it possible?
Thanks in advance!
Anonymous , You can not do conditional formatting on the Matrix row.
But using a color measure you can do on values
Switch(Max(Table[Score P1]),
"Promotor", "Green",
"Pasivo", "Yellow",
"Red"
)
Use that is conditional formatting using the field value option
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/1682539
1 Reply
- amitchandakSuper User
Anonymous , You can not do conditional formatting on the Matrix row.
But using a color measure you can do on values
Switch(Max(Table[Score P1]),
"Promotor", "Green",
"Pasivo", "Yellow",
"Red"
)
Use that is conditional formatting using the field value option
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/1682539