Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
Is it possible to call PowerBI.js from OnClick() events within an embedded report? PowerBI.js is obviously already in the web page, but no idea if I can interact with it.
For example I want to create a 'Print' button within my embedded report, which might work by triggering report.print() via window.parent() ?
I have this working on a button in the parent page but it would fit better on the report itself.
Thanks,
Max
Hi Max,
When we get the token and parameters ready, we load the whole Power BI contents. As its name implies, the Power BI contents are EMBEDDED in the custom application. So I'm afraid we, the users, can't modify the Power BI contents directly. I would suggest you create an idea here.
Best Regards,
Dale
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |