Forum Discussion
getSlicerState on Inactive Pages
Hi Nojustice,
According to your error message, it seems like your request did not include the configs so that it failed to initialize.
If that is the case, I'd like to suggest you take a look following links about power bi javascript and correspond configurations.
Embed Configuration Details
Regards,
Xiaoxin Sheng
Anonymous
I have only provided an example piece of code, at the point this is executed the report is already rendered on the screen so all the configuration has already been passed to it.
As an example the report contains 2 tabs,
Tab1 = Books
Tab2 = Authors
The user alters some slicers on Books, then moves to Authors and alters some slicers.
The user hits save (code in my original post is executed)
It seems to only getslicerstate from the slicers on the current page (in this case Authors), I want to store what the slicerstate is from Books page.
Hope this brings some more clarity
- Anonymous5 years agoNot applicable
Hi Nojustice,
So you mean you want to add data processing methods into the requests? Did this error disappear if you remove these operations?
If that is the case, it may mean power bi not allow you to do some additional operation to send/access to the external resources.
Regards,
Xiaoxin Sheng