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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
sravan
Frequent Visitor

Colour coding in matrix based on different column

Hi,

Can we have colour coding based on some column in the visualization? for instance, i have a target value (which is 90 in the below case) metric 1 and metric 2 should be compared with target value and colour coded to green if it grater and to red if less.

 

otherHere the Target value is dynamic and can not be hard coded!

 

Is this possible?

 

Capture.JPG

Thanks,

Sravan

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

Hi @sravan,

 

As Drors said, if the target value is a constant number, you can set conditional formatting for columns. Similar to below:

3.PNG1.PNG2.PNG

 

However, setting conditional formatting based on a different column is not supported yet.

 

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

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @sravan,

 

As Drors said, if the target value is a constant number, you can set conditional formatting for columns. Similar to below:

3.PNG1.PNG2.PNG

 

However, setting conditional formatting based on a different column is not supported yet.

 

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.
Drors
Resolver III
Resolver III

If the Target is Constant number you can use the conditional formating,

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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