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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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