Forum Discussion
Color formatting in matrix visual
Hey everyone, i have been scratching my head for a few days in order to make this work, but i am stuck.. Hopefully someone here can help me out! I have made a Profit and loss table with the Matrix visual. I am showing the actuals data. IF there is no actuals data, i am showing forecasted data. And if there is no Forecasted data eighter i am showing budgetted data. What i want to do is to show these data in different colors so you can see if the data shown is eighter Actuals, Forecasted or Budgetted.
Thanks.
1 Reply
- amitchandakSuper User
Robin96 , You can use measure-based conditional formatting
example
Color Date = if(FIRSTNONBLANK('Date'[Date],TODAY()) <today(),"lightgreen","red")
Color = Switch( True() ,
Max(Table[Status]) < 200 ,
Switch(true(),
[ERB] = .25 , "Orange" ,
"Red "
) ,
Max(Table[Status]) < 500 ,
Switch(true(),
[ERB] = .25 , "Orange" ,
"Red "
) ,
Switch(true(),
[ERB] = .25 , "Orange" ,
"Red "
)
)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