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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Trellis bar chart with different colours using matrix Chart

Hi,

I have a below view that I need to show different colours for category field. (Matrix Chart)

Furniture-Red,

Office Supplies - Green,

Technology - BlueTrellis Bar Chart with colors.PNG

Can anyone help me in achieving this requirement.

A quick help would be much appreciated

3 REPLIES 3
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,
 
There isn't any available way to achieve your requirements. You may submit an idea viahttps://ideas.powerbi.com/forums/265200-power-bi 
See if this can solve some of your needs
data_barmatrix——.PNG
Measure = IF(MAX(Sheet9[category])="B","#33FF4C",IF(MAX(Sheet9[category])="A","#FF3633",IF(MAX(Sheet9[category])="C","#3933FF")))
Use this measure in field vaule of background color
bg_measure.PNG
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@V-lianl-msft 

When I use the calculation it just changed the background colour not the bar colours.

See below,

Bar Colour.PNG

 

Anonymous
Not applicable

HI @Anonymous ,

 

Try using  conditional formatting to change the color of the Bars.

 

( from the dropdown ( in my case it is sum of empID ) select the column you want to change, go to Data bars ->advance controls and select the color of your choice.

 

Capture12.PNG

 

Thanks,

Tejaswi

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.