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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Adding External Javascripts to PowerBI

I have a website where I am embeddding PowerBI.

 

Is there a way for me to add external Javascript to the PowerBI Pages/iframes? I would like to provide some additional functionality of interaction on the reports with my script. 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Anonymous,

What type of embed feature are you mean? 'Publish to web' or 'power bi embedded'?

If you mean the first one, power bi only shares the 'public' code that maps to your report content with a specific iframe, you can't do custom with these.

If you mean the second, you can take a look at power bi embedded playground, it is an online sandbox included samples and editor that can be tested and learned with different embedded features.

Power BI Embedded Playground

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @Anonymous,

What type of embed feature are you mean? 'Publish to web' or 'power bi embedded'?

If you mean the first one, power bi only shares the 'public' code that maps to your report content with a specific iframe, you can't do custom with these.

If you mean the second, you can take a look at power bi embedded playground, it is an online sandbox included samples and editor that can be tested and learned with different embedded features.

Power BI Embedded Playground

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
lbendlin
Super User
Super User

There is a difference between embedding and embedding.  One is just an iframe without any control whatsoever, the other one is a full integration with the ability to inject your Javascript code.

 

Power BI Playground - Learning Center

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.