Looking for PowerObjects? Don’t worry, you’re in the right place! We’ve been part of HCL for several years, and we’ve now taken the final step in our acquisition journey: moving our website to the HCL domain. Nothing else is changing – we are still fanatically focused on Microsoft Business Applications!

PowerObjects Blog 

for Microsoft Business Applications

|

How to Connect to Dynamics 365 Data from PowerBI Desktop

Post Author: Joe D365 |

PowerBI is a great tool for reporting on and analyzing data, from a wide range of sources, including Dynamics 365. To set this up, you must connect to Dynamics 365 as a PowerBI data source, so PowerBI can load your CRM data. In this blog, we will review the two versions of PowerBI and then provide step-by-step instructions for setting this up in PowerBI Desktop.

Before we begin, if you also want to leverage pre-built Power BI Content Packs with CRM for Dynaimcs 365, check out a previous blog: Connect Your CRM Online Data to PowerBI for Powerful Analysis.

Now, let's start by talking about the two different versions of PowerBI, PowerBI Service, and PowerBI Desktop.

PowerBI Service, is the online version that you can access from your browser, at www.powerBI.com after logging in. This is the version that is accessed by most users who want to utilize PowerBI for analyzing data, and creating reports and dashboards.

PowerBI Desktop is an application that is installed and run on your PC, like any other Windows application. It is geared for more technical users, who often do the work of setting things up to help regular users who will be using PowerBI Service. The two versions are designed for different purposes, and while they have a lot in common, they are definitely not the same.

Alright! We've reviewed the differences, now let's look at how, in PowerBI Desktop, you connect to and gain access to CRM Online data.

As a preliminary step, we need to know the url to enter in to PowerBI to point it to the Dynamics CRM online org. This is best done by logging in to Dynamics CRM online and copying the url from a screen called "Developer Resources". These first steps show you how to get to the screen:

1. Log in to Dynamics 365 online.

2. Click on the "Settings" tile.

Connect to Dynamics 365 Data from PowerBI Desktop

3. Choose "Customizations."

Connect to Dynamics 365 Data from PowerBI Desktop

4. Choose "Developer Resources."

Connect to Dynamics 365 Data from PowerBI Desktop

5. Copy the url listed under "Instance Web API," and save it for entering into PowerBI Desktop.

Connect to Dynamics 365 Data from PowerBI Desktop

6. With the saved url, we can point PowerBI Desktop to CRM data on Dynamics 365.

7. Start PowerBI Desktop and then select "Get Data" either from the Splash Screen or from the ribbon at the top of the screen.

Connect to Dynamics 365 Data from PowerBI Desktop

OR

Connect to Dynamics 365 Data from PowerBI Desktop

8. Type CRM into the search box to locate CRM for Dynamics 365 Online. Then click on the "connect" button.

Connect to Dynamics 365 Data from PowerBI Desktop

9. Enter the CRM url (saved earlier) and click "OK."

Connect to Dynamics 365 Data from PowerBI Desktop

10. In the "Access an OData feed" dialog box, select "Organizational account" and then click "Sign in."

Connect to Dynamics 365 Data from PowerBI Desktop

11. You may then need to sign in to your CRM for Dynamics 365 Online with your username and password.

Connect to Dynamics 365 Data from PowerBI Desktop

12. Verify that you are signed in by making sure you see the message "You are currently signed in" in the dialog box and then click "Connect."

Connect to Dynamics 365 Data from PowerBI Desktop

13. The navigation screen will allow you to select the CRM entities whose data you want to load into PowerBI Desktop.

Note, if you click "Load," all the data and every field in the selected entities will be loaded into PowerBI.

Best practice would be to click "Edit" and select the columns of data you need for reporting.

Connect to Dynamics 365 Data from PowerBI Desktop

Connect to Dynamics 365 Data from PowerBI Desktop

With your CRM data loaded into PowerBI, you can now start building reports. After you publish them, your PowerBI Service users will be able to build their own dashboards using CRM data.

Happy PowerBI'ing with CRM data!

Joe CRM
By Joe D365
Joe D365 is a Microsoft Dynamics 365 superhero who runs on pure Dynamics adrenaline. As the face of PowerObjects, Joe D365’s mission is to reveal innovative ways to use Dynamics 365 and bring the application to more businesses and organizations around the world.

7 comments on “How to Connect to Dynamics 365 Data from PowerBI Desktop”

  1. Hi Joe, while this is great, it appears to be pulling all records from all entities down to the desktop when the connection is established - is this the case?

    Thanks
    Paul

    1. Hi Paul - It should only pull records from the entities you select. Are you seeing non-selected entities being bulled down ?

  2. Hi Joe,

    I don't have Dynamics CRM online as an option when I search CRM in step 8.

    1. Hi Dre - We are seeing more and more things being renamed to Dynamics 365 or Microsoft Dynamics 365. Check under the new name.

  3. How do i get lookup fields to show so i can pull in things such as owner in the account entity?

  4. Hi Joe,
    I'm having this error when triying to connect:

    Details: "OData: The feed's metadata document appears to be invalid."

    I have a V9 Dynamics 365, can it be the problem?

PowerObjects Recommends