HCOM Power Bi - Embed Report to Salesforce

Summary

Embed a Power BI report to Salesforce

Body

Overview

Embed a Power BI report to Salesforce

Create your Power Bi Report

On your Slicer, be sure the filters are set accordingly:

Uploaded Image (Thumbnail)

After you have created and published your Power BI report, go to 'File' > 'Embed to Website or Portal' and copy the link at the top

Uploaded Image (Thumbnail)

Salesforce

  • In Salesforce, go to 'Setup' then in the search enter 'Visualforce Pages' 
  • Create a new Visualforce page
    • Name it
    • In the VisualforceMarkup section, replace the entire text with the following:
      • <apex:page standardController="Contact" showheader="false" sidebar="false">
          <apex:iframe src="[ADD YOUR EMBEDDED LINK FROM POWER BI HERE]&autoAuth=true&ctid=f3308007-477c-4a70-8889-34611817c55a&$filter=Contact/Id eq '{!Contact.Id}'" height="600px" width="100%" frameborder="0">
          </apex:iframe>
        </apex:page>
      • After saving, you can click on preview to view what it will look like
      • Be sure to update security/access to it
        • Go back out to the main lines of Visualforce Page, find your page and click on 'Security' to the left of it
        • On the left mass select profiles and add them to the right, save

Uploaded Image (Thumbnail)

Get help from HCOM IT

Details

Details

Article ID: 1185
Created
Fri 12/13/24 11:29 AM
Modified
Tue 7/22/25 12:24 PM