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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

anmolmalviya05

Embedding Power BI Report in Web Pages

In this blog, we will explore how to make your Power BI report publicly accessible and embed it on a web page using Power BI’s Publish to Web feature.

 

Step-by-Step Guide

Step 1: Open Your Report

  • Log in to Power BI Service.
  • Open the report you want to make public.

Step 2: Publish the Report

  • Navigate to File > Embed report > Publish to web (public).
    Picture1.png

Step 3: Generate Embed Code

  • A dialog box titled Embed in a public website will appear.
    Picture2.png
  • Click on Create embed code, then confirm by clicking Publish.

Step 4: Choose an Embedding Option

After creating the embed code, Power BI offers two alternatives:

 

Alternative 1: Share a Public URL

  • Copy the URL provided.
  • Share the link via email, messaging, or social media.
    Picture3.png

Key Features:

  • Recipients don’t need Power BI subscriptions to access the report.
  • If your report has multiple pages, all pages are accessible via the shared URL.

Alternative 2: Embed in a Website

  • Copy the provided iframe HTML element.
  • Paste it into the HTML of your website.
    Picture4.png

Example: Below is a sample HTML code snippet demonstrating how to embed the report:

anmolmalviya05_0-1737367276763.png

 

Steps to Implement:

  • Paste the iframe code into your website’s HTML file.
  • Save the file.
  • Open the saved file in a web browser to verify that the embedded Power BI report loads correctly.

Result

Using the Publish to Web feature, you can share or embed your Power BI reports in two simple ways:

  • By sharing a public URL.
  • By embedding the report in your website’s HTML using the iframe code.

 

Anmol Malviya

Data Analyst | Addend Analytics

Comments

Thanks for sharing the Report embed feature. 

Thank you for sharing.

 

Really helpful.