Forum Discussion
Embedding a Report into a web page, easiest way
- 8 years ago
Hi Michele,
for your case i have found this blog-entry that sounds intresting: https://tsmatz.wordpress.com/2017/07/14/power-bi-embed-report-in-app/
Hi Michele,
the easiest way i know to bind a report into a webpage is to publish them first and then bind it in your page by using an Iframe like so:
After you press on "Publish to web" you will get a code similar to this:
<iframe width="800" height="600" src="https://app.powerbi.com/view?r=xxx" frameborder="0" allowFullScreen="true"></iframe>
This html-code you just have to paste in your webpage and youre ready to go.
Btw: you can resize it if you want by using the attributes width="800" and height="600"
Im not sure about the wp-plugin but i think thats not safe as you maybe have to offer your login-credentials to use the plug-in. I dont recommend to use it if its a third-party developer. Keep your data safe :)
Hello az2451,
thank you for your answer. Unfortunately that is not a possibility for us. According to what Microsoft writes about the "Publish to web" functionality, they reserve the rights to show the data on search engines or use the data themselves. Since we are handling industrial data we simply can't tell our customers that Microsoft might decide to use their data, so publish to web is a no go for us. We are, I believe, forced to rely upon Power BI Embedded, but the learning curve, given our lack of knowledge of web apps, might be rather steep; that's why I am asking for any advice to make it as easy as possible to move the first steps into this world and maybe produce an initial result upon which we might later expand.
Michele
- az24518 years agoResolver I
Hi Michele,
for your case i have found this blog-entry that sounds intresting: https://tsmatz.wordpress.com/2017/07/14/power-bi-embed-report-in-app/
- Michele_Zanoni8 years agoFrequent Visitor
Thank you for your answer. I have been working on it and managed to obtain decent results with it.
- npnigro8 years agoAdvocate III
We developed a plugin for WordPress to make this process easier if you use the "app owns data" method. See here: https://wordpress.org/plugins/embed-power-bi.