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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Rnaval
Helper V
Helper V

Bar Chart - is there a way to configure different colors for each bar in a Bar Chart?

Bar Chart - is there a way to configure different colors for each bar in a Bar Chart?

1 ACCEPTED SOLUTION
v-mengmli-msft
Community Support
Community Support

Hi @Rnaval ,

 

Do you want each bar on the X-axis to display a different color? If I understand correctly, you can do so.

 

Set the "Color-Categories" of the bar based on the X-axis text value. In my testing, I'm making the bars in the "#4460" category show up as blue and the bars in the "#4461"category show up as orange.

vmengmlimsft_0-1737006767492.png

 

vmengmlimsft_1-1737006811401.png

 

 

 

Best regards,

Mengmeng Li

View solution in original post

3 REPLIES 3
v-mengmli-msft
Community Support
Community Support

Hi @Rnaval ,

 

Do you want each bar on the X-axis to display a different color? If I understand correctly, you can do so.

 

Set the "Color-Categories" of the bar based on the X-axis text value. In my testing, I'm making the bars in the "#4460" category show up as blue and the bars in the "#4461"category show up as orange.

vmengmlimsft_0-1737006767492.png

 

vmengmlimsft_1-1737006811401.png

 

 

 

Best regards,

Mengmeng Li

Thank you

ToddChitt
Super User
Super User

I think you can drop the field in the Legend field well instead of the Y axis, and Power BI will read those legend values. Then in the Format for the Visual, under Bars, "Apply Setting to" you will see all your members.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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