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

Popular posts from this blog

Embedding Power BI Reports in Websites and Applications: A Complete Guide

Import Microsoft Planner Data into Power BI Using Power Automate and SharePoint

Difference between Append and Merge in Power BI