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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Concitional Formating each column in Matrix

Delion_0-1614140147330.png

Hi I have matrix and each column have a different color coding

example points < 50 = red , utilisation <40% = red

ho to do it ?

 

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @Anonymous 

You could create a measure like below:

Measure Value Color = IF(MAX('Table'[Point])<=50,"#ff0000","#000000")

 

v-luwang-msft_0-1614246413189.png

 

 

 

 

Then:

v-luwang-msft_1-1614246413194.png

 

v-luwang-msft_2-1614246413196.png

 

Then you will see:

v-luwang-msft_3-1614246413197.png

 

More about how to configure color measure,you can see the below:

https://community.powerbi.com/t5/Desktop/Colour-formatting-on-Measure/m-p/864818#M414953

 

 

Wish  it is helpful for you!

 

View solution in original post

3 REPLIES 3
v-luwang-msft
Community Support
Community Support

Hi @Anonymous  ,

Has your problem been solved, if so, please consider Accept a correct reply as the solution to help others find it.
 

Best Regard

Lucien Wang

v-luwang-msft
Community Support
Community Support

Hi @Anonymous 

You could create a measure like below:

Measure Value Color = IF(MAX('Table'[Point])<=50,"#ff0000","#000000")

 

v-luwang-msft_0-1614246413189.png

 

 

 

 

Then:

v-luwang-msft_1-1614246413194.png

 

v-luwang-msft_2-1614246413196.png

 

Then you will see:

v-luwang-msft_3-1614246413197.png

 

More about how to configure color measure,you can see the below:

https://community.powerbi.com/t5/Desktop/Colour-formatting-on-Measure/m-p/864818#M414953

 

 

Wish  it is helpful for you!

 

amitchandak
Super User
Super User

@Anonymous , You can create a color measure and do it. The measure can check for measure value or dimension value

 

example

Color sales = if(AVERAGE(Sales[Sales Amount])<170,"green","red")
Color Year = if(FIRSTNONBLANK('Table'[Year],2014) <=2016,"lightgreen",if(FIRSTNONBLANK('Table'[Year],2014)>2018,"red","yellow"))

 

You can refer to my video for more details: https://www.youtube.com/watch?v=RqBb5eBf_I4

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

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.