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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

conditional formatting for each column in matrix

I am trying to apply conditional formatting with specific conditions for each column rather than just the whole visual. Ultimately it comes down to the background of each cell changing depending on the value in the cell. Is this possible in power bi?

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , exact need is not clear. You can do rule base, Scale base of measure based.

 

refer to my video: https://www.youtube.com/watch?v=RqBb5eBf_I4

 

or these blog

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Sorry i'll try to clarify. 

 

I have a table which shows the number of car crashes for each car within with 3 columns - HIgh, Medium, low.

I want to add conditional formatting to each cell. The conditions are  for the background color to changes depending on the numerical value in the cell. But these thresholds CANT BE the SAME for each column.

Example:

High Column: 0 to 10 = Green Background ; 11 to 20 = Yellow Background ; 22 to 30+ = Red Background

Medium Column: 0 to 20 = Green Background ; 21 to 49 = Yellow Background ; 50+ = red background

 

Is there any way to apply conditional formatting to each column rather than the entire table?

 

thanks 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors