cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joecorestack
Helper I
Helper I

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.

joecorestack
Helper I
Helper I

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
T-Shirt Design Challenge 2023

Power BI T-Shirt Design Challenge 2023

Submit your creative T-shirt design ideas starting March 7 through March 21, 2023.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors