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! Request now

Reply
pureprogression
New Member

100% Stacked Bar Chart Conditional Formatting

Dear Community,

 

I am trying to develop a stacking plan for office buildings in Power BI desktop. I am using a 100% Stacked Bar Chart to achieve the stacking plan. The Y axis shows the floors of the office building, the X axis shows the % of space a tenant uses from the 100% of the floor space of the office building (e.g. floor 7 has a total of 1,000 sqm, tenant A uses 100 sqm, % shown is 10% for tenant A etc.)

 

My challenge is that I would like to apply a conditional formatting to each tenant based on their contract expiry date, however, the visual is based on SQM of tenants, not their contract expiry date. I would like to keep the visual representing SQM proportions, but I would like to apply a conditional formatting based on contract expiry dates.

 

Do you think it is feasible to do this in Power BI desktop (if yes, how?) or would a custom development be required to deliver this visual?

 

Thank you for the help in advance!

 

Best regards,

Pureprogression

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@pureprogression , Conditional formatting does not work with visuals having legend. so I doubt you can do that in this case

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@pureprogression , Conditional formatting does not work with visuals having legend. so I doubt you can do that in this case

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you Amit. It seems in this case I have to settle for the formatting originally given by Power BI and apply two visuals side-by-side for comparison, one with the SQM and one with the expiry date.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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