Forum Discussion
Set slicers from react to power bi embedded
I am implementing the Powerbi embedded dashboard in my React application.
In my Powerbi Dashboard, I have plenty of slicer from which I am manipulating data and visuals. I want to set the slicers from the react component but not able to set the slicers..
Called this slicers in embed config.
Any help would be appreciated, Thanks
powerbiembedded PowerBI Azure
3 Replies
- AnonymousNot applicable
Hi SaurabhSk,
I'd like to suggest you take a look at the following document about how to control the filter based on client api:
Use filters in a Power BI embedded analytics report | Microsoft Learn
Regards,
Xiaoxin Sheng - SaurabhSkNew Member
Hi Anonymous
So basically I have gone thorugh this document plenty of time but if I want to update the slicers I am not getting any exact solution for this.
I even tried the same in Powerbi embed playground Power BI Playground - Developer Sandbox
Still not getting a good picture of this- AnonymousNot applicable
Hi SaurabhSk,
I think you can take a look at the following document about handle events and invoke and modify the filters in these events:
How to handle events in a Power BI embedded analytics application | Microsoft Learn
Regards,
Xiaoxin Sheng