Reply
cottrera
Post Prodigy
Post Prodigy
Partially syndicated - Outbound

Conditional format Matrix Column

Hi 

 

I have a Matrix visual that I would like to only conditional format the background colour for the % column with the header 'Yes' as highlighted below. Can you please tell me is this is possible wit DAX

 

0%-98% = Red

98%-99% Orange

99%-100% = Green

 

cottrera_0-1632307027479.png

 

cottrera_1-1632307095002.png

 

thank you

 

Richard

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Syndicated - Outbound

@cottrera , Create a color measure and use that in conditional formatting using filed value option 

 

Color  =  if(Max(Table[Job completed with]) = "Yes", Switch(True() ,

[%] <= 98% ,"Red",

[%] <= 99% ,"Orange",

[%] <= 100% , "Green"), "white" )

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
cottrera
Post Prodigy
Post Prodigy

Syndicated - Outbound

Thank you amitchandak for your quick response this measure worked fine. I just needed to change the % to numbers. For example 1 instead of 100%

amitchandak
Super User
Super User

Syndicated - Outbound

@cottrera , Create a color measure and use that in conditional formatting using filed value option 

 

Color  =  if(Max(Table[Job completed with]) = "Yes", Switch(True() ,

[%] <= 98% ,"Red",

[%] <= 99% ,"Orange",

[%] <= 100% , "Green"), "white" )

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)