microsoft / powerbi-visuals-api

Power BI custom visuals API
MIT License
87 stars 46 forks source link

Formatting Containers - how to differentiate changes between containers #67

Open novasilva-wouter opened 1 year ago

novasilva-wouter commented 1 year ago

When using the FormattingContainer, any changes the user makes on the formatting panel are only recorded in the DataViewModel.metadata and can not be differentiated per container.

In previous API versions, changes would be recorded in the DataViewModel.categorical.values.source.objects, recording any changes from default per value.

This behaviour seems to have changed in the API version 6.0.0

How do I detect in which FormattingContainerItem the user has made changes?