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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors