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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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