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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AGajreeFM
Regular Visitor

Matrix Data Bars - Different Colours based on a Field

AGajreeFM_0-1737474995515.png

Does anyone know of a way to change the colour of data bars in a Matrix based on a field? Looks like you can only have one colour?
If so, is there an alternative approach anyone can suggest?

Thanks in advance!

1 ACCEPTED SOLUTION
audreygerred
Super User
Super User

For the data bars you get one color for positive and one for negative. If you want to have diverging colors on a scale, I would suggest using background color. You could actually do both.

audreygerred_0-1737478973769.png

You could likely also do something custom like discussed here: Creating custom visuals in Power BI with DAX - SQLBI





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
audreygerred
Super User
Super User

For the data bars you get one color for positive and one for negative. If you want to have diverging colors on a scale, I would suggest using background color. You could actually do both.

audreygerred_0-1737478973769.png

You could likely also do something custom like discussed here: Creating custom visuals in Power BI with DAX - SQLBI





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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.

Top Solution Authors