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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
DavideBono97
Helper I
Helper I

Reload Embedded Report

Hi

I have a report embedded with javascript

In a certain case I have to completely reload the same report

To do this I use the Reload function as follows

report.reload();                         
var embedContainer = $pbiContainer[0];
powerbi.reset(embedContainer);
report = powerbi.embedNew(embedContainer, config);
report = powerbi.load(embedContainer, config);

 After this everything is fine and the report is loaded

However, if I try to change the report page as follows

config.pageName = "xxxx";
report.render(config);                         
await report.refresh();

I get the following error : Invalid operation - prepare report required prior to render

and the page is not changed

If I change the page, with the same code, before Reload, I have no problems

 

What can I do ?

Thanks in advance

 

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @DavideBono97 ,

For the issue, I cannot reproduce it here. We suggest you to open a ticket here for help if you are a pro user: https://powerbi.microsoft.com/en-us/support/

 

support ticket.gif

 

Best Regards
Community Support Team _ Polly

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors