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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
rgold
New Member

Cannot print, or use any methods, in embedded report

I have embedded a report on a page (via the API, not pasting in the iframe) and am having trouble getting any of the API methods to work properly.

 

I have the following click event:

$(printButton).click(function () {
console.log('clicked');
report.print();
})

When report.print runs, it spits out the following in the console:

h9vfrx Posting message:
{
"method": "POST",
"url": "/report/print",
"headers": {
"x-sdk-type": "js",
"x-sdk-version": "2.23.1",
"uid": "xujo6g",
"id": "wdxvin"
},
"body": null
}
target origin: undefined 

 But it does nothing on the front end. No print menu pops up.

 

While troubleshooting, I also tried to put the print command inside the loaded event But this event never runs --even though the report DOES appear to load properly.

report.on("loaded", function () {
console.log("Loaded");
});

 

Can anyone advise??

1 REPLY 1
VN999
Resolver I
Resolver I

Try this options to solve issues with printing or using methods in an embedded Power BI report, ensure that your embedding method supports the desired features, check permissions and settings, and troubleshoot any specific error messages.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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