Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
kdesai
Frequent Visitor

Conditional Coloring -Matrix

Hi I am trying to highlight a row of a matrix in Red if the ratio is higher than the organization ratio.

 

I have calculated the organization's ratio in a measure which is say =1.22%

 

I want to highlight below rows in Red which have a % ratio > 1.22%

 

i.e, first 5 rows.

 

The conditional formatting-->Background scales option assigns a scale of colors and not a single color as I want.

d6.PNG

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @kdesai,

 

As ValentinBIA said, conditional formatting can be set based on value rules. However, you should type into the values manually, using a measure instead is not supported.

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @kdesai,

 

As ValentinBIA said, conditional formatting can be set based on value rules. However, you should type into the values manually, using a measure instead is not supported.

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yeah . Currently I am calculating the value of the measure and putting it in the "Rules" manually.

 

My only worrie is that, I have to keep a track of the measure value, in case it changes.

 

Thank You for your reply. 🙂

ValentinBIA
Resolver I
Resolver I

Hi @kdesai,

 

When you turn on the background color (in conditional formatting), it opens up a windows that lets you change the colour of the scale.

On the top left of this window you can see " Format by" Color Scale

Change it to "Format By" Rules, and there you can decide on a rule for your conditional formatting

 

Hope that helps

Best,

Valentin

Did I answer your question? Mark my post as a solution!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.