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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
MaxW
Advocate II
Advocate II

Calling PowerBI.js from within embedded report

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

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

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

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.