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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Asantoss96
Regular Visitor

Update parameters on PowerBI Embed using javascript

I have an SPA that renders a report based on a user clicking a row in a html table. We show the report in an element below, I get the parameters when the user clicks the row and plug them into the embedurl. When the user clicks another row I need to update those parameters. Is there anyway to update the parameters without having to call powerbi.reset and powerbi.embed again, I rather not have to tear down the iframe and render it again with a new embedUrl.
Clicking another row while the report is open should effectively mimic the user going to the parameter panel and updating the values and clicking view report.

3 REPLIES 3
TedPattison
Microsoft Employee
Microsoft Employee

Instead of changing the EmbedUrl, can you set a filter on the embeded report to get the same effect using the Power BI JavaScript API?

I forgot to mention this is a paginated report. When I try to use a filter I get an error detailing that paginated reports do not support filters.

OK, my bad. I thought it was a standard Power BI embedded report. I am afraid I don't know the answer when dealing with paginated reports.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.