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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rawmeat
Frequent Visitor

change data bar color in matrix

Hi all,

 

I am using data bar in the matrix to show the measures. 

The users also want to add color on the data bar. (Not the background color, only the data bar color)

So let's say if the number is big, the data bar will be longer and color will be deeper.

Please let me know if there is a workaround for this one.

 

Thanks much

 

 

1 ACCEPTED SOLUTION
rawmeat
Frequent Visitor

Hi,

 

We have multiple dimensions so we have to use the matrix.

There is a workaround we create new measure (1 - [measure]) and then set data bar to be white and right to left and set the background color. Although the matrix looks a little bit wired (data bar size is not equal to the whole placeholder) the users still accept this one.

 

Thanks

Jason

View solution in original post

3 REPLIES 3
Sean
Community Champion
Community Champion

Depending on how many levels you actually have in your Matrix - a workaround could be to use a Bar Chart.

You can set the Inner Padding on the Y-Axis to zero

Drag the same field that is in your Values to the Color Saturation and then assign the Min and Max colors in the Data Colors menu

Good Luck! Smiley Happy

rawmeat
Frequent Visitor

Hi,

 

We have multiple dimensions so we have to use the matrix.

There is a workaround we create new measure (1 - [measure]) and then set data bar to be white and right to left and set the background color. Although the matrix looks a little bit wired (data bar size is not equal to the whole placeholder) the users still accept this one.

 

Thanks

Jason

v-chuncz-msft
Community Support
Community Support

@rawmeat,

 

There isn't any available way. You may submit an idea via https://ideas.powerbi.com/forums/265200-power-bi.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.