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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Richard_Halsall
Helper IV
Helper IV

Colour Row Groups in Matrix Visualisation

Hi

I have a matrix visualisation where I have selected the option 'Switch values to row groups ' which looks like this:

Richard_Halsall_0-1666272594661.png

Richard_Halsall_1-1666272745717.png

 

 

I need to be able to colour the row groups differently. I know it is possible using a measure and conditional formatting to colour rows but can it be done for row groups?

 

Thanks

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Richard_Halsall ,

 

As far as I know, the calculation in Power BI will base on columns. However, [TRIR] and [Target] are from different columns. So we need to set the conditional formatting for each column/measure.

In my sample, I set [TRIR] show blue and [Target] show orange by Field value in Background conditional formatting.

Color for Target = "Orange" 
Color for TRIR = "Blue"

Result is as below.

RicoZhou_0-1666332450185.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Anonymous
Not applicable

Hi @Richard_Halsall ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept the helpful reply as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your issue or share me with your pbix file without sensitive data.


Best Regards,

Rico Zhou

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Richard_Halsall ,

 

As far as I know, the calculation in Power BI will base on columns. However, [TRIR] and [Target] are from different columns. So we need to set the conditional formatting for each column/measure.

In my sample, I set [TRIR] show blue and [Target] show orange by Field value in Background conditional formatting.

Color for Target = "Orange" 
Color for TRIR = "Blue"

Result is as below.

RicoZhou_0-1666332450185.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi @Anonymous , I did manage to do this also I was trying to get the labels TRIR & Target to be coloured as well Thanks

Anonymous
Not applicable

Hi @Richard_Halsall ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept the helpful reply as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your issue or share me with your pbix file without sensitive data.


Best Regards,

Rico Zhou

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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