Can You Embed a Power BI Dashboard in a Website?

Cody Schneider9 min read

Yes, you can absolutely embed a Power BI dashboard into a website, and it's a powerful way to share live, interactive data with your audience. Instead of sharing static screenshots or outdated spreadsheets, you can bring your reports to life right where your team members or customers are already working. This guide will walk you through the different methods for embedding your dashboards, outlining the steps and helping you choose the right approach for your needs.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Why Embed Power BI Dashboards?

Embedding your Power BI reports directly into a website, internal portal, or application isn't just a neat trick, it solves several common reporting problems. It streamlines how you share information and helps your team make better, faster decisions.

  • Meet Users Where They Are: Most people don't want to log in to yet another tool to see a report. By embedding a dashboard into a company intranet, a client portal, or a SaaS application, you provide valuable insights right within their existing workflow.
  • Provide Real-Time, Interactive Data: An embedded report isn't a static image. It's a live, interactive dashboard that updates automatically as the underlying data changes. Users can filter, slice, and dice the data to explore their own questions without needing a Power BI license themselves (depending on the method).
  • Democratize Data Access: It gives stakeholders direct access to the performance metrics they care about. Marketing teams can monitor campaign performance on a SharePoint page, while sales managers can track KPIs in a custom web app, all without having to request new reports from an analyst.
  • Enhance Your Website or App: For external-facing sites, embedding a dashboard can add immense value. A B2B company could embed industry data in a blog post, a nonprofit can show its impact with a public-facing report, and a SaaS app can provide in-app analytics to its customers.

Understanding the Core Embedding Options

Microsoft Power BI provides several ways to embed reports, but they generally fall into two main categories based on one critical question: Who is your audience, and how sensitive is your data?

  1. Publish to Web (Public): This is the simplest and quickest method. It generates a public link and an embed code that anyone can access. This is perfect for data you want to share with the world, like a dashboard on a public blog post. Warning: this method is not secure and should never be used for confidential or internal information.
  2. Power BI Embedded (Secure): This is a more robust solution designed for sharing sensitive data with specific audiences, either within your organization or with external customers. It requires more setup but gives you full control over security and user access.

There's also a specific, user-friendly implementation for internal teams using Microsoft 365: embedding in SharePoint Online, which we'll cover as well.

Method 1: "Publish to web" for Public Data

"Publish to web" is the ideal choice when your data is not confidential, and you want to share it widely. It's free, requires no coding, and can be done in just a few clicks.

When to use it: Embedding maps on a public website, sharing survey results in a blog post, or displaying open data for public consumption.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Step-by-Step Guide to Public Embedding

  1. Open Your Report in Power BI Service: Log in to your Power BI account at app.powerbi.com and navigate to the report you want to embed. You can't do this from Power BI Desktop, it must be done from the web service.
  2. Generate the Embed Code: From the top menu bar, click File > Embed report > Publish to web (public).
  3. Heed the Warning: Power BI will show you a serious warning. It will clearly state that this action will make your report and its data visible to anyone on the internet. There is no user authentication. Read this carefully and only proceed if you are 100% sure the data is safe to share publicly. If so, click "Create embed code."
  4. Publish the Report: In the next dialog box, click "Publish." Power BI will generate the code you need.
  5. Copy the HTML Snippet: You'll now see a window with two options. The first is a direct link you can share, and the second is an HTML snippet inside a text box. This snippet is an <iframe> code. Copy the entire HTML code.
<iframe title="Your Report Name" width="800" height="600" src="https://app.powerbi.com/view?r=..." frameborder="0" allowFullScreen="true"></iframe>
  1. Paste the Code into Your Website: Go to the HTML editor of your website, blog platform (like WordPress or Webflow), or any page that allows you to embed iframes. Paste the code where you want the report to appear. You can adjust the width and height attributes to fit the container on your page.

That's it! Your interactive Power BI report is now live on your website for anyone to see and interact with.

Method 2: Power BI Embedded for Secure Applications

When data is confidential and access needs to be restricted, "Publish to web" is not an option. You need a secure method, which is where the Power BI Embedded analytics platform comes in. This is a more advanced solution typically requiring developer assistance, but it offers complete control and security.

This approach has two main models:

For Your Organization (User Owns Data)

This model is for building internal applications or portals. Every user viewing the embedded report needs to have their own Power BI Pro or Premium Per User (PPU) license and log in with their corporate credentials.

When to use this: Building an internal sales dashboard that shows each authenticated sales rep only their own pipeline data (using Row-Level Security), creating a central reporting portal for company executives.

How it works: You register an app in Azure Active Directory (AAD), which serves as the "trustee." When a user accesses your web app, the app uses their AAD credentials to ask Power BI for permission to display the report. Everything is handled within your organization's security environment.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

For Your Customers (App Owns Data)

This is the model used by independent software vendors (ISVs) or developers who want to embed analytics into their applications for external users (their customers).

When to use it: A marketing SaaS app wants to provide a reporting dashboard for each of its clients, an ERP system adds a custom analytics module for its users, or an e-commerce platform shows analytics to vendors.

How it works: Your application authenticates users with its own user management system. Then, on the backend, your application authenticates itself with Power BI using a service account or principal. Your app requests an embed token from Power BI for that specific user and uses it to render the report. This model requires purchasing dedicated Power BI capacity (either 'A' SKUs for Azure or 'P' SKUs for Microsoft 365), as you are essentially "serving" the Power BI content on behalf of your users.

Setting up Power BI Embedded is a developer-centric task involving APIs and code, but it provides a seamless, secure, and professional way to integrate powerful analytics directly into any application.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Bonus Method: The Easiest Way for Internal Teams – SharePoint Online

If your sole goal is to share a report internally with your team and your company already uses Microsoft 365, there's an incredibly easy way: embed it directly into a SharePoint Online page. This process uses Power BI's secure organization-level sharing but without any complex setup.

  1. Go to your Power BI report in the service, open it, and simply copy its URL from your browser's address bar.
  2. Navigate to the SharePoint Online page where you want to add the report and click "Edit" in the top right.
  3. Click the + icon to add a new web part and search for "Power BI."
  4. Add the Power BI web part to your page.
  5. In the Power BI web part settings, paste the report URL from step 1.
  6. The report can now appear on the page. You can customize which page displays by default and other settings right in SharePoint.
  7. Click "Republish" to save your SharePoint page.

SharePoint will automatically handle security. Only users who are logged into SharePoint and also have permission to view the report in Power BI will be able to see it.

Tips for a Great Embedded Experience

Once you've embedded your report, consider these tips to make it even more effective:

  • Optimize for Performance: Reports intended for embedding should be as fast as possible. Limit the visuals on a single page, keep your DAX measures efficient, and use a clean data model.
  • Design for the Space: Use the "Page View" settings in Power BI Desktop to design your report with its final embedded dimensions in mind. If it's going into a narrow website column, design the report for that aspect ratio.
  • Consider User Interactions: Think about what a site visitor needs. Enable the filters pane to allow them to explore, or hide it to present a more guided experience.
  • Test on Mobile Devices: Always check how your embedded report looks and feels on smaller screens. Use Power BI's mobile layout editor in Desktop to create a dedicated view for mobile users.

Final Thoughts

Power BI offers flexible and powerful options for bringing your data to life directly inside a website or application. You can easily share public reports in minutes using the "Publish to web" feature, or you can leverage the secure Power BI Embedded platform to deliver tightly controlled analytics for internal teams or customers.

The journey to creating a great embedded report always starts with getting your data connected, cleaned, and analyzed. With so many data sources scattered across marketing, sales, and financial platforms, building the report can be daunting. At Graphed, we focus on shortening that entire process from question to insight. Instead of wrestling with various tools, you can use our platform to connect all your data sources, ask questions in plain English, and instantly generate interactive dashboards - making them ready to share with your team in just seconds. Give Graphed a try and see how easy data reporting can be.

Related Articles