Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
Solved! Go to Solution.
@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/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...
@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/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...