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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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