Showing results for 
Search instead for 
Did you mean: 
New Member

dataSelected event and Date Ranger slicer (JavaScript Client)



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? 




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? 



Helpful resources

New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors