Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
When clicking on a visual in edit mode of a report, how can one edit the options that come up when the user clicks the "Format" or "Analytics" buttons? For example, some of the built-in visuals allow you to choose the background colour in the "Format" tab, and I would like to include such a feature in my visual.
I assume it would be defined in capabilities.json somewhere? However I couldn't seem to find any documentation on this topic.
At the moment it just says "[Formatting options]/[Analytics features] aren't available for this visual".
Thanks.
Background option is a default option for all of visuals (native and custom).
You just need to include this method into your custom visual:
public enumerateObjectInstances(options: EnumerateVisualObjectInstancesOptions): VisualObjectInstance[] | VisualObjectInstanceEnumerationObject { return []; }
Please pay attention to the fact that this method must be included into a class that implements IVisual interface.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I see. But speaking more generally then, can I specify custom options for these panes? Or I can only include the defaults like background colour?
Yes, you can. Please take a look at this topic to find out more.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals