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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors