DEV Community

Lorraine Njagi
Lorraine Njagi

Posted on

Publishing and Embedding Power BI Reports into a Website

Publishing and Embedding Power BI Reports into a Website

Introduction

As a seasonal Power BI user, I always found it to be an easy and simple tool to use. Well, this perspective affected how much I was able to utilize it. This resulted in me not seeing it as much of a challenge, hence not putting it into practice as much as I should have.

The first time I used Power BI was during a bootcamp, and it was the easier part of the program before getting to the more challenging and time-demanding modules related to machine learning.

I recently got back to Power BI after enrolling in a course that includes it as part of the modules taught. Honestly, Power BI is easy, but it requires practice and one has to be keen just like with any other tool. One is more likely to forget what they learned and stay stuck in the beginner loop.

Well, this article is not about me. I will cover how to publish and embed your Power BI reports into your websites or web pages.


What is Power BI?

Power BI makes data visual. This is the tool that makes it easy to communicate what our data is about to stakeholders. Through Power BI, you tell a story about your data.

After working on your report, you need to save it and publish it.


Step 1 — Save Your Report

To save your report, click on the File icon on the top left of your screen.

Save Report


Step 2 — Publish Your Report

To publish:

  • Go to Home on the ribbon
  • At the far right, you will see the Publish button

Publish Report

After selecting publish, it will ask you to select a workspace.

If you do not have a workspace, you have to log into your Power BI account and create one.

Note: A workspace is only available in Power BI Service and not available in Power BI Desktop.

Workspace


Step 3 — Embedding to a Website

After publishing:

  1. Go to your Workspace
  2. Open the Report
  3. Navigate to File
  4. Click on Embed report

Embed Report

After clicking on Embed report, select Website and copy the iframe HTML to paste into your web page.

Embed Code


Conclusion

Power BI is a powerful tool for data visualization and storytelling. Publishing reports to Power BI Service and embedding them into websites allows you to share insights with a wider audience in an interactive and visually appealing way.

However, like any other tool, Power BI requires practice and consistency to master and fully utilize its capabilities.

Top comments (0)