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

View all the Fabric Data Days sessions on demand. View schedule

Reply
VizDataLtd
Helper I
Helper I

Is it possible to disable one formatting pane slice based on the value of another?

When users select alignment: middle, the padding setting I provide them is not relevant and does nothing. It would be nice to disable it in such a case. 

 

Within the formatting model returned by getFormattingModel(), I can see a disabled property for the entire card, but I do not see such an option at slice level. It would help if someone could confirm whether it is possible to disable individual slices based on the value of other slices. Thanks!

3 REPLIES 3
lbendlin
Super User
Super User

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41

Thanks. Are you saying this is not possible at present for custom visual developers? (I thought I had seen it working for a standard visual.)

I don't recall seeing that. Let me know when you found it 

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 Kudoed Authors