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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.