Modern SharePoint pages provide a flexibility to embed Power BI reports using Power BI web part. But what about Classic SharePoint Pages?
We can embed Power BI report using IFrame in Classic SharePoint Page.
Now, let’s get started!
Publish your Power BI report to Power BI Online.
Open Power BI Online. Go to File menu and select Publish to Web.
Note If you do not want to publish your report to the web, then copy the URL from option File > Embed in SharePoint Online. Add that URL to iframe tag.
It will prompt you to create an embed code. Click on "Create Embed code".
Click on Publish button to publish the report in the Public web site.
It will provide the code in <iframe> tag. Copy the code.
Now, add one content editor web part in SharePoint homepage.
Paste the copied URL which we have performed in Step 5.
Once, we add the web part in SharePoint Page the report will look like the following screenshot.
This is how we can embed our Power BI report in SharePoint Online pages.