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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors