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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.