How to Connect Power BI to Salesforce – A Guide

Power BI and Salesforce are two powerful tools that can significantly enhance data analysis and reporting capabilities for businesses.

By connecting these two tools, businesses can leverage their features and functionalities to gain valuable insights and make informed decisions.

In this article, I will guide you through the process of connecting Power BI to Salesforce, enabling you to unleash the full potential of your data.

Let’s get started!

Why connect Power BI to Salesforce?

Data is the heart of any business, and when it comes to managing customer relationships, Salesforce is the go-to platform for many organizations.

However, while Salesforce provides a wealth of data and insights, it can be overwhelming to navigate and make sense of all that information.

However, by connecting Power BI to Salesforce, you can employ the power of data analytics and visualization to gain a deeper understanding of your customers, sales performance, and overall business performance.

With Power BI dashboards and reports, you can transform raw data into meaningful insights, enabling you to make informed decisions and drive business growth.

How to connect Power BI to Salesforce

Now that you understand why we need to integrate Salesforce with Power BI, let us dive into the process of connecting these two tools. I will explore three methods:

The following are the prerequisites for integration:

  • A Power BI Account: If you don’t have a Power BI account, sign up on the website using your work email
  • A Salesforce Account: Also, make sure to sign up for a Salesforce account with the required credentials if you haven’t already
  • Power BI Admin Access: Make sure to have admin access in Power BI in order to create connections

Method 1: Configuring Power BI Desktop with Salesforce Connector

This is a simple and direct method. Using this method, you can easily set up a data source and connect Power BI to visualize your data. Below are the steps:

  • Open Power BI Desktop, and click on “Get Data” in the Home tab
  • Click on “More” to open the “Get Data” window and select “Template Apps”
power bi salesforce
  • Enter your Power BI login details and search for “Salesforce”
  • Select “Salesforce Analytics” and click on “Connect” then follow the prompt to begin the installation process.
  • Finally, select any of the data you want to import on Salesforce


  1. You can only import data once
  2. It is not flexible enough for Salesforce data and custom fields.
  3. It doesn’t support real-time data updates
  4. It relies on predefined dashboards and reports for data import.
  5. It has data pre-processing and transformation restrictions.

Method 2: Using Power BI Salesforce Objects Connector

This is also a simple and straightforward method to connecting Salesforce to Power BI. Below are the steps:

  • To start with, launch your Power BI Desktop and select “Get Data” on the Home tab
  • Search for “Salesforce” and choose the “Power BI Salesforce Objects Connector” option in the “Get Data” window.
power bi salesforce
  • Then click on “Connect” to proceed
  • This will take you to the “Salesforce Objects Connector” window where you will enter your login credentials and click on the “Connect” button
  • Power BI will then authenticate your details and show the list of available Salesforce objects.

(Here is mine)

  • Finally, select your preferred objects and click on “Load” to import the data into Power BI or “Transform Data” to manipulate the data in the Power Query Editor.

NB: The same process goes for “Salesforce Reports”


  • You may encounter performance issues when working with large datasets
  • It does not support real-time data updates
  • Accessing Salesforce objects requires authorization.

Method 3: Using Salesforce REST API

While this method is more complex than the above two, it allows for real-time connection with Power BI and conducts insightful analyses.

Below are the steps:

  • To start with, launch your Power BI Desktop and select “Get Data” on the Home tab
  • Then search for “web” in the “Get Data” window, select the “Web” option, and select the “Connect” button to proceed
power bi salesforce Rest API
  • In the “Web” window, enter your Salesforce REST API URL. For instance, “” (replace “example” with your Salesforce sample and “AX.X” with the API version).
Watch this video to learn more about importing data from REST APIs in Power BI
  • Choose an authentication method (API key or OAuth 2.0) and input the required details.
  • Customize the REST API query to retrieve the desired data from Salesforce, and then click on the “OK” button to import the data.


  • It is more complex than the first two methods
  • It requires a good knowledge of the Salesforce REST API and writing queries
  • Rate limits and query restrictions can affect data retrieval and refresh performance
  • When using the REST API, you must handle authentication and authorization securely

Best Practices for Power BI Salesforce Integration

While Power BI Salesforce integration can help transform businesses, to ensure successful integration, consider following these practices. This will help you optimize your tools and unlock valuable insights for your business.

  1. Define clear goals and objectives: You must clearly define insights and metrics you need from your Salesforce data to channel your energy to creating relevant reports and visuals.
  2. Regularly update and refresh data: To keep your insights up-to-date, you must always refresh your salesforce data.
  3. Use collaboration features: Share reports via the Power BI service to collaborate securely with colleagues and stakeholders.
  4. Optimize Performance: Optimize queries, data models, and visualizations to improve the performance of Power BI dashboards and reports.
  5. Ensure Data Security: Implement appropriate security measures to protect sensitive data when connecting Power BI to Salesforce.
  6. Monitor and Iterate: Constantly monitor and evaluate the effectiveness of your Power BI integration with Salesforce, and iterate as needed to improve outcomes.


In summary, integrating Power BI into Salesforce helps data professionals to explore cutting-edge ways to analyze and visualize data, and in turn, enables corporations to gain valuable data insights.

However, to take full advantage of the connection and enhance your data sights, make sure to follow the best practices explored in this article.

If you enjoyed reading this article, you can also read this insightful article on how to connect Power BI to SQL Server Stored procedures.

Happy analyzing!