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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

stacked bar chart Condition Formatting Color

Hello Everyone,

I want to create a Visual like this

 

Mark_001_0-1626230705546.png

and I created like this 

 

Mark_001_1-1626230757467.png

The problem is when I drag legend into a stacked bar chart, it didn't allow a do Condition Formatting Color.

 

is that possible with a stacked bar chart?

 

@parry2k @amitchandak

 

2 ACCEPTED SOLUTIONS
parry2k
Super User
Super User

@Anonymous in the past when a visual doesn't allow conditional formatting (like Pie Chart or Line Chart), create a bar chart, apply conditional formatting and then convert it to the stacked bar chart., this technique worked for other visuals but not sure if it will work for Stacked bar chart.

 

Or you can easily create using this matrix visual, change background and foreground based on the conditional formatting and it will look like bars.

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

Anonymous
Not applicable

I have done using table and some condition Formating.

Mark_001_0-1626235200843.png

 

View solution in original post

6 REPLIES 6
parry2k
Super User
Super User

@Anonymous  well done, we were on the same wave. glad it worked out for you. Cheers!!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

once again thanks a lot.

Anonymous
Not applicable

I have done using table and some condition Formating.

Mark_001_0-1626235200843.png

 

parry2k
Super User
Super User

@Anonymous in the past when a visual doesn't allow conditional formatting (like Pie Chart or Line Chart), create a bar chart, apply conditional formatting and then convert it to the stacked bar chart., this technique worked for other visuals but not sure if it will work for Stacked bar chart.

 

Or you can easily create using this matrix visual, change background and foreground based on the conditional formatting and it will look like bars.

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thanks 

Anonymous
Not applicable

@Fowmy any solution?

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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