Forum Discussion
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.
- Anonymous4 years ago
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.
Regards,
Xiaoxin Sheng
2 Replies
- lbendlinSuper 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.
- AnonymousNot applicable
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.
Regards,
Xiaoxin Sheng