DEV Community

Kigen Tarus
Kigen Tarus

Posted on

Publishing and Embedding Power BI Reports

By: Tarus Kigen

To publish a Power BI report and embed it into a website, you’ll use Power BI Service to upload your report, generate an embed code, and paste it into your site. This makes your interactive dashboards viewable directly in a browser.


# 🖥 Introduction to Power BI Publishing
Power BI is Microsoft’s business analytics tool that lets you create interactive reports and dashboards. Once you’ve built a report in Power BI Desktop, you can publish it to the Power BI Service (app.powerbi.com) and share it with others. One powerful feature is embedding reports into websites, allowing stakeholders to interact with live data without needing Power BI installed.


# 📌 Step 1: Create a Workspace
A workspace is a collaborative area in Power BI Service where reports and dashboards are stored.

  • Go to app.powerbi.com and sign in.
  • On the left panel, click Workspaces → Create a workspace.
  • Name your workspace and configure access permissions.
  • Save it.

# 📌 Step 2: Upload and Publish Your Report
Once your workspace is ready, upload your report from Power BI Desktop.

  • In Power BI Desktop, click File → Publish → Publish to Power BI.
  • Select your workspace.
  • The report will appear in your online workspace.

# 📌 Step 3: Generate the Embed Code
Now you’ll create the code snippet that allows embedding.

  • In Power BI Service, open your report.
  • Click File → Publish to web.
  • A dialog box will appear with an embed code (iframe HTML).
  • Copy the code.

Important: Publish to web makes your report public. Anyone with the link can view it, so avoid using confidential data.

# 📌 Step 4: Embed the Report on a Website

  • Open your website’s HTML editor.
  • Paste the embed code where you want the report to appear.
  • Save and refresh your site.
  • The interactive Power BI report will now be visible to visitors.

# 🔑 Key Insights

  • Workspaces organize reports and control access.
  • Publishing moves your report from Desktop to the cloud.
  • Embed codes allow integration into websites, but they make reports public.
  • For secure embedding, use Power BI Embedded or organizational sharing instead of “Publish to web.”

✅ With these steps, you can take your Power BI dashboards beyond the app and make them accessible directly on your website, enabling interactive data exploration for your audience.

Feel free to leave any questions in the comments. Thank you for your time.

Top comments (0)