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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
nsaray
Helper II
Helper II

Colour coding in matrix based on different column

Hi

 

Is it possible to colour whole columns in a matrix and not the actual values. I have items being sorted into buckets, 0-2, 3-10 and 11-25. There is a count of items in the values but I don't want to colour code based ont he value. I want the entire 0-2 column to be green, 3-10 column to be Amber and 11-25 column to be red

 

Thanks

 

3 REPLIES 3
Anonymous
Not applicable

Yes you can.  When setting up the conditional formatting, simply select a different field under the option "Based on Field".  If you do not see this option, make sure you are using an up to date Power BI Desktop.

 

The Power BI service should show this option.

Hi

 

Thanks for your response. I only see one field that I can select the Count and not the "Bucket" field which I need. 

 

i'm using RS Version: 2.61.5192.641 64-bit (August 2018)

 

Is that an old version?

Anonymous
Not applicable

It is yes, although the feature should exist in your version.  What you need to do is find the value column that you want the colour to exist in.  Click its drop arrow and select Conditional Formatting.  Inside that window will be the "Based on Field" option that will allow you to specify what the conditions are to colour your results in the matrix.  In my example below, OPH is in my matrix and i've specified rules around OPH, however you could select with the dropdown, any other field in your model

 

Capture.PNG

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.