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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors