Forum Discussion
conditional formatting on a column
Hi all,
I need your help on this.
I made a matrix (screenshot attached). In this matric, I have Route, parties involved and months.
I want to apply condition to find out in each month which party "cost per order" is cheaper. Like, for May month, party "O" cost per order is cheaper.
Any help would be really appreicated!!
Regards,
Sahil
goyalsa , Create a measure like below and use in conditional formatting using field value option
Color=
var _min = calculate(Minx(values(Table[Party]),[cost per order]), removefilters(Table[Party))
return
if(_min = [cost per order], "Green", "white")
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
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pane-66e0afcb15f3
1 Reply
- amitchandakSuper User
goyalsa , Create a measure like below and use in conditional formatting using field value option
Color=
var _min = calculate(Minx(values(Table[Party]),[cost per order]), removefilters(Table[Party))
return
if(_min = [cost per order], "Green", "white")
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
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pane-66e0afcb15f3