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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
KrishnaKanjani
Regular Visitor

Stacked BarChart

I want to create a measure that shows a stacked bar chart with 'column1', 'column2' and 'column3'. But I also want that, all the values of bars between 4.5 to 5, should be of green color, between 3.5 to 4.5 should be of orange and less than 3.5 should be red (irrespective of legends). The visual should remain stacked bar graph. Is it possible ?
Screenshot (181).png
2 REPLIES 2
Daniel29195
Super User
Super User

continuing my reply .... 

@KrishnaKanjani 

 

if you are not using a legend and using  3 measures where each measure refer to its respective column, then you can use conditional formatting ,

Daniel29195_0-1705917199438.png

choose rules in the first dropdown list , and in the rules , put the rules that you want . then hit ok when done. 

Daniel29195_1-1705917215138.png

 

 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit thumbs up button 👍

 

Daniel29195
Super User
Super User

@KrishnaKanjani 

when using legend in a visual, you can t use conditional formatting  and change the color base on specific conditions . 

 

 

 

 

 

 

 

 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors