How to Pull Data from Microsoft Dynamics 365 into Power BI Reports

By Cody Marshall | July 18, 2017

How to pull data from microsoft dynamics 365 into power bi reports

I am in a unique scenario, as I am both a Microsoft Partner that sells and services Dynamics products, and also a customer that uses Microsoft Dynamics business solutions to run our practice. When Microsoft released Project Service Automation (PSA) as part of the Dynamics 365 suite, I jumped right in to deploy it for our internal scheduling tool. I’m happy to say we got that up and running and it’s paying big dividends for us already.

Now that I have a centralized scheduling tool across all of our delivery teams, I’m taking steps to incorporate that very valuable data into the existing reports and scorecards we are using to manage the business today, using Power BI. In this post, I’ll share how to pull Microsoft Dynamics 365 Data into your Power BI Reports. Specifically, I want to share two simple but valuable tips I learned in the first couple of hours of working on this.

  • Hooking up PSA to Power BI via the Web API
  • Using Power BI as a tool to investigate the PSA data structure

First, to pull the data into Power BI, open the Power BI Desktop > Get Data > More…

Set up for Power BI and Dynamics 365

Select Online Services > Dynamics 365 (online)

Select online Services - Dynamics 365 online

You will be prompted for the Web API URL

Prompt for Web API URL

To find the correct URL for your instance, log into Dynamics 365 > Settings > Customizations > Developer Resources

Find the correct URL under Developer Resources in Dynamics 365

Copy and paste that back into the Power BI prompt and click OK. It will take a few minutes, and eventually the Navigator will populate with a list of data tables you now have access to from within Power BI. The navigator also provides a preview of that data, which assists with quickly identifying potential data sources for the report you are building:

Navigator - bookableresourcebookings

In my scenario, I was able to quickly identify a few tables that I knew contained the data I needed. There were, of course, some data elements that I could not easily identify since I am not familiar with the data structure. So, I opted to select every table that was named in a way that I thought might be useful, and Loaded them in:

Identify and select tables to load into Power BI

This operation takes a bit, so now’s a good time to get a cup of coffee:

Loading tables for Power BI setup

Once completed, the tables are now usable from within Power BI. In my case, I wanted to do some investigation on the tables, and I found that Power BI creates a nice relationship map of all of the tables that I loaded in, which was extremely helpful for me in identifying which tables had what I needed, and how to connect the dots when I need to do lookups or make other joins. Here’s a screenshot of that visual tool:

Relationship map of tables in Power BI

The tables themselves can be moved around so that you can organize and dig deeper into the relationships. If you click on a connection line, it highlights the fields that join the two tables:

Highlighted fields that join tables in Power BI

I’ve now started using Power BI just for this metadata analysis tool for other reporting areas that I’ve been pondering out of our Dynamics 365 for sales (CRM) system. I hope you find it useful as well.

If you’re interested in learning more or want Power BI training for your team, check out our two-day Power BI Workshop, which can be customized for your company.

Related Posts

Recommended Reading:

5.27.22 Dynamics GP

How to Run Drop Ship Sales in Dynamics GP

Need to Invoice the Customer before you get the invoice from the vendor? This The freight forwarder has contacted you […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Protecting G/L Accounts From Being Deleted

There are a lot of exciting New Features in Dynamics 365 Business Central 2022 Wave 1 Release to get excited […]

Read the Article
5.25.22 Financials

Rounding Numbers in Power Automate

  If you’ve ever tried to round numbers in Power Automate, you have probably already run into the issue there […]

Read the Article

Manage U.S. Use Tax on Purchase Orders in Dynamics 365 Finance and Operations

  Managing sales tax requirements on your business purchase can be complicated, but Dynamics 365 Finance and Operations can help […]

Read the Article
5.19.22 Dynamics CRM

How to Write a Great Support Ticket in the Stoneridge Support Portal

Submitting a support ticket through the Stoneridge Support Portal is a quick and effective way to get assistance for any […]

Read the Article

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X