I have a free account for PowerBI, and i did the following, to test how i can embed a PowerBI report inside sharepoint pages (sharepoint on-premises + sharepoint On-line):-
- I create a new PowerBI report using the PowerBI desktop tool.
- Where I defined to use a custom SharePoint list as the source.
- The i Saved >> Publish the PowerBI report.
Now I want to show the PowerBI report inside my SharePoint pages, where i have the following 2 farms:-
- SharePoint on-premises
- SharePoint online.
Now since i am using a free account for the PowerBI (as currently i am testing its features), so I can only do the following inside the PowerBI “Publish to Web”. While the second option “Embed in a SharePoint online” is not available for free accounts. Here are the 2 options for Pro users (currently my user is a free account for PowerBI, so not all options are available to me).
Then inside my SP online & SP on-premises farms, i did the following:-
- Create a new page.
- I add an Embed Code to the page.
- Inside the code snippet , I add the code generated from the “PowerBi >> “Publish to Web” option.
- The code looks as follow:-
<iframe width="800" height="600" src="https://app.powerbi.com/view?r=e*******9" frameborder="0" allowFullScreen="true"> </iframe>
Now i am not sure about the following:-
what are the main differences between showing a PowerBI report inside my sharepoint pages using “Publish to Web” or using “Embed in a SharePoint online”??
from my reading that using “Embed in a SharePoint online” appraoch will only be available inside sharepoint online & using the Modern interface for the page.. but not sure if the final result will be the same for these 2 options “Publish to Web” & “Embed in a SharePoint online”?