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
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
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.