This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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??
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.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |