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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
iamsaanvi
Regular Visitor

Putting a web embed code from Power BI into a page in salesforce

Hi,

We have started to use Microsoft Power BI for my analytics needs and I am trying to find a way to embed the visualizations into a page in Salesforce.  I see I can get a web address but also an embed code which woud be amazing.  Anyone know how I can do this?  I

feel this could verge on developer but I am hoping there is a way to do this a little more easily

 

Thank you

Saanvi S

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@iamsaanvi wrote:

Hi,

We have started to use Microsoft Power BI for my analytics needs and I am trying to find a way to embed the visualizations into a page in Salesforce.  I see I can get a web address but also an embed code which woud be amazing.  Anyone know how I can do this?  I

feel this could verge on developer but I am hoping there is a way to do this a little more easily

 

Thank you

Saanvi S


@iamsaanvi

You can reference Embedding a Power BI report into Salesforce.

 

As to the easiest approach, you may need Publish to web from Power BI

View solution in original post

5 REPLIES 5
manchun
New Member

Thank you for solution regarding Salesforce

Embedding a Power BI report into a Salesforce page allows teams to access real-time analytics directly within their CRM environment. This integration enhances decision-making by providing interactive dashboards without switching platforms. In the middle of this process, many professionals explore Salesforce training courses to better understand configuration steps such as creating secure iframes, managing permissions, and enabling external content. By properly inserting the Power BI embed code, users can create seamless data visibility across departments. This approach improves productivity, strengthens data alignment, and ensures that Salesforce pages display powerful insights for sales, service, and management teams.

To embed a Power BI report into a Salesforce page, follow these steps:

  1. Enable Power BI Embedded

    • Ensure your Power BI report is published to the Power BI Service.
    • Get the Embed Code from Power BI:
      • Open the report in Power BI Service.
      • Click File > Embed Report > Publish to Web (Public) or use Embed in SharePoint Online (if you need restricted access).
  2. Add the Embed Code to Salesforce

    • Navigate to Salesforce Lightning App Builder or Classic Page Layout.
    • Use a Visualforce Page or Lightning Component:
      • If using Visualforce, create a page with an <iframe> that includes your Power BI embed URL.
      • If using Lightning Component, use <lightning:iframe> or an Aura Component to embed the report.
  3. Ensure Authentication (if needed)

    • If embedding a private Power BI report, use Power BI Embedded API and implement OAuth authentication.
    • You may need Azure AD App Registration to authorize users.

Let me know if you need code examples or further guidance! 🚀

Eric_Zhang
Microsoft Employee
Microsoft Employee


@iamsaanvi wrote:

Hi,

We have started to use Microsoft Power BI for my analytics needs and I am trying to find a way to embed the visualizations into a page in Salesforce.  I see I can get a web address but also an embed code which woud be amazing.  Anyone know how I can do this?  I

feel this could verge on developer but I am hoping there is a way to do this a little more easily

 

Thank you

Saanvi S


@iamsaanvi

You can reference Embedding a Power BI report into Salesforce.

 

As to the easiest approach, you may need Publish to web from Power BI

Thank you!!@Eric_Zhang

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.