The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I'm getting this error on calling visual.getSlicerState()
Operation is only supported for visuals of type slicer
My capabilities.json is this
{ "dataRoles": [ { "displayName": "Values", "name": "values", "kind": "Grouping" } ], "dataViewMappings": [ { "conditions": [ { "values": { "max": 1 } } ], "categorical": { "categories": { "for": { "in": "values" }, "dataReductionAlgorithm": { "top": { "count": 100000 } } } } } ], "objects": { "general": { "displayName": "General", "properties": { "filter": { "displayName": "filter", "type": { "filter": true } } } } }, "supportsSynchronizingFilterState": true }