Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
How do I get the value of a selected data from a Slicer in an embedded Power BI report with JavaScript API?
HI, DO we have any update on this issue?
I have the same problem. The datasected even was firing when the slicer selction changed. It is not firing any more. Is anybody working on this?
Hi everyone,
When selecting data from a slicer in my power bi embedded report, the dataSelected event is not firing anymore, I used to catch this event and work on it normally. What did go wrong?
I didn't change the code and it was working normally, it stopped working today.
Thanks...
@cyan wrote:
Hi everyone,
When selecting data from a slicer in my power bi embedded report, the dataSelected event is not firing anymore, I used to catch this event and work on it normally. What did go wrong?
I didn't change the code and it was working normally, it stopped working today.
Thanks...
I can confirm that the dataselected won't fire when clicking on a slicer. Can you ensure it was working? If so, you can submit an issue at https://github.com/Microsoft/PowerBI-JavaScript/issues.
@Eric_Zhang yes it was working, I also tested to change the orientation of the slicer from vertical to horizontal and it triggers the dataSelected event in the horizontal orientation (Where the items are represented as buttons instead of checkboxes), so I did report an issue http://community.powerbi.com/t5/Issues/Vertical-Orientation-Slicer-Not-triggering-Data-Selection-eve...
I will submit an issue at the link you provided as well, Thanks.
@cyan wrote:
@Eric_Zhang yes it was working, I also tested to change the orientation of the slicer from vertical to horizontal and it triggers the dataSelected event in the horizontal orientation (Where the items are represented as buttons instead of checkboxes), so I did report an issue http://community.powerbi.com/t5/Issues/Vertical-Orientation-Slicer-Not-triggering-Data-Selection-eve...
I will submit an issue at the link you provided as well, Thanks.
Some one (may be you?) has submit that issue in Github lib and the PG teamis working on a fix.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.