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

Getting Parameter Values Selected in Paginated Reports using Javascript Library

I have embedded the paginated report in our web app, Now I need to get the selected values in the parameter and pass it to other api in the javascript behind the scene, is there any way to get the values selected in the parameters?

3 REPLIES 3
v-robertq-msft
Community Support
Community Support

Hi, 

As far as I’m concerned, there’s no way for us to achieve this in the Power BI at current because the dataSelected() event is not firing anymore.

 

Please refer to this link:

https://community.powerbi.com/t5/Developer/How-to-get-the-selected-data-from-a-slicer-in-JavaScript/...

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks for your reply. But my question is in paginated report lets say we have a multi select parameter called "Account" which has values "A","B","C". When users selects "A" and "C" only and view the report. Is it possible to get only the selected values from the dropdown using javascript in the same page

v-robertq-msft
Community Support
Community Support

Hi, 

As far as I’m concerned, you can only use the query string parameters to make the customers get a filtered report URL dynamically based on the selection the customer makes in the current report. When customers select the URL, they see only the intended information.

You can refer to this link:

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors
Top Kudoed Authors