Forum Discussion
Need to add a Format Property per Measure
It seems you should specify a selector for each instance of VisualObjectInstance.
To find out more please take a look at this example.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
That example only seems to show adding properties dynamically to a group. I'm needing to dynamically add additional groups of properties.
Currently, I've defined 5 of the same groups of properties then just don't push them if I don't have a measure for it. This makes my capabilities longer than it needs to be, and caps my number of measures to the number of properties defined in the capabilities.
- v-viig8 years agoCommunity Champion
We would recommend to return an instance of VisualObjectInstanceEnumerationObject as a result of enumerateObjectInstances.
This interface describes containers and instances. To associate an instance with a particular container you would need to fill containerIdx of VisualObjectInstance.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals