Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

dataSelected event and Date Ranger slicer (JavaScript Client)

Hello,

 

I'm working on some integration between my webapp and power bi dashboards. One thing I'm looking to do is make the web app aware if the values in the "Date Range" slicer visual inside the power bi dashboard has changed.

 

I'm trying to do this with the `dataSelected` event - it seems to be firing properly on other visuals (e.g. checkboxes), however it is not fired at all when I select a new date for the date range slicer (either through the calendar menu, or with the slider).

 

Could anyone advise what I might be doing wrong here? 

 

slicer-date-range.png

 

tokenType is set to `Embed` - everything else is pretty basic, no filters or extra configurations. What is the proper way to setup a Date Range slicer visual that fires `dataSelected` event when changed? 

 

Thanks!

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.