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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
chotu27
Post Patron
Post Patron

Can we change the colors of data bars In table

Hi All,

 

As you all know that we got new update for table with bars. But i need to change bar colors based on my values.

 

 

Example:  I have a Column name  Sites readiness i need a bar color in it such  below 30 is red, 30 and 60 is yellow, and above 60 is green.

 

Please help community????

 

 

data bars.PNG

2 ACCEPTED SOLUTIONS

@Sean Finally got it !!!!!!!!!!!!!!!!!!!!!!Smiley Very Happydatacond.PNG

View solution in original post

@chotu27,

 

Glad to hear that you've solved this problem. You may share the solution here. That way, other community members may also benefit. Your contribution is highly appreciated.

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.

View solution in original post

8 REPLIES 8
Sean
Community Champion
Community Champion

Method 1

select the Table - go to the Paint Brush - Conditional Formatting - select the field - turn on data bars - click Advanced Controls

make the adjustments in the pop up window

Data Bars.png

Method 2

Again select the Table - In the Values area - click on the triangle to the right of the field - select Conditional Formatting - Data Bars

you'll get the same pop up where you can adjust

Data Bars2.png

This should do it! Smiley Happy

@Sean I know that But my project requirement is to show the different colors for bars not for the value.

Sean
Community Champion
Community Champion

@chotu27

I responded to quick - without reading your question all the way Smiley Happy

So you should actually try the Color Scales

Since the Data Bars at this time at least can't do what you are trying to achieve

Here're the results... Smiley Happy

Color Scales.png

@Sean Finally got it !!!!!!!!!!!!!!!!!!!!!!Smiley Very Happydatacond.PNG

Hi @chotu27 , 

 

Can you explain how you achieved this result? I am trying to do the same thing.


@chotu27 wrote:

@Sean Finally got it !!!!!!!!!!!!!!!!!!!!!!Smiley Very Happydatacond.PNG


How? Seems like you put a bar chart next to a matrix and just lined them up as opposed to an actual data bar within the table. Is that right?

 

@chotu27,

 

Glad to hear that you've solved this problem. You may share the solution here. That way, other community members may also benefit. Your contribution is highly appreciated.

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.

Hi

 

Let's rescue some like me that searched answer for this

 

To have 1 color

Any barchar let you have one color

Insertyour measure in the value field

Then go second pane, format pane

And finaly, Data color to change your color

 

To have 2 colors

At least with matrixes

Insert your value(s)

How to 1.PNG

As you click on this button you can see conditional formating, and 3 choices. The last one is data bars

Use it as you want. Data bar permit only 2 colors. Background and font color permit 3 colors

 

To have 3 colors

To have three colors, or you have the matrix and, just said two lines up, you can have backround colors

Or you can use a column chart. Insert Measure in your value field and the measure to refer colors to on the color saturation.

then second pane, data colors, and you can have a diverging color difining 3 colors.

 

If a develloper read it, please enable the ability to have just three colors, not a scale going from first color to second then from second to third color. When you go on the road with green orange red, you do not have mid colors. Thanks 😉

How to 2.PNG

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors