Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello Everyone, how do i color first 2 bars exactly like this and rest of the bar in the stack,please help me out with a solution.If possible explain indetail.
Solved! Go to Solution.
Hi @Anonymous ,
According to your screenshot, I think you have added a column into Legend field in your Stacked Column Chart. So we can see multiple colors in Color in Columns.
As far as I know, Power BI doesn't support us to use conditional formatting after we use Legend in Statcked Column Chart. Power BI will determind the color for each legend based on theme. If we need to change the color for legends, we need to select the legend and choose the color we need manually.
Your demand is a good idea, while it is not supported to implement in Power BI currently.
You can vote up this idea for this function :
Enable Conditional formatting for Legends and columns series in Stacked bar
Or you can submit a new idea to improve the Power BI.
It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,
Write a simple measure using selected value in switch function along with your condition and use it in condtional formatting.
Thanks,
Arul
please could breif it in step by step.
@Anonymous ,
1. Write a measure like this for your requirement
2. Use that measure in conditional formatting (fx).
3. Set your measure in field value category.
Thanks,
Arul
If you could see my snippet, thier is no option of conditional formating
Hi @Anonymous ,
According to your screenshot, I think you have added a column into Legend field in your Stacked Column Chart. So we can see multiple colors in Color in Columns.
As far as I know, Power BI doesn't support us to use conditional formatting after we use Legend in Statcked Column Chart. Power BI will determind the color for each legend based on theme. If we need to change the color for legends, we need to select the legend and choose the color we need manually.
Your demand is a good idea, while it is not supported to implement in Power BI currently.
You can vote up this idea for this function :
Enable Conditional formatting for Legends and columns series in Stacked bar
Or you can submit a new idea to improve the Power BI.
It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I also have the same problem.
I also need this feature. My work like I have 4 columns, first is DateTime (every hour 2023-8-17 00:00, 2023-08-17 01:00...), second is Silo No. (silo1, silo2,...), third is Quantity (ton) of product produced in each silo each hour, fourth is Quality (%) each hour each silo. when plot in stacked bar chart x-axis-->Silo No., y-axis-->Quantity (ton), legend-->DateTime, tootip--> Quality. I need to set condition format for each column in case quality 0%-50% Red, 51%-75% Yellow, >75% Green. something like this. the problem i found limitation of legend only 60 items and cannot set the condition format of columns.
have you figured how to do this?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
89 | |
82 | |
54 | |
40 | |
35 |