To see the error, just use the Power BI embedded demo site and try to set slicer filters. Javascript error below. It didn't work most of last week, but then was working Friday. Now doesn't work aga...
Anonymous
7 years agoNot applicable
I came across an issue of my own while using setSlicerState:
ERROR Error: Uncaught (in promise): Object: {"message":"visualConfigIsNotInitialized","detailedMessage":"Visual container config is not initialized"}
I tried sending an empty filter array at report launch and calling getSlicerState as well; with no luck.
getSLicerState throws me the very same error as setSlicerState.
I'm getting the correct slicer visual (visual.type gets me 'slicer' result) through a cascade of
report.getPages() -> page.getVisuals()
Any idea on what might cause this behavior ?
Kind regards,