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

by | Updated July 23, 2018 | Dynamics 365 for Finance and Operations, Power Platform, Set Up

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

  • As Microsoft Power Platform’s tools are becoming an insurgence in many businesses, Power BI, the main reporting tool of the Power Platform is also getting used by more companies. This…

  • I recently enabled Power BI integration for a Dynamics 365 for Operations customer. And while the following article on Configuring Power BI for Workspaces https://ax.help.dynamics.com/en/wiki/configuring-powerbi-integration/#register-your-dynamics-ax-deployment-as-a-web-app-in-the-azure-portal was instrumental in enabling the integration…

  • Microsoft has launched a new free, interactive learning website for customers to master Microsoft technologies called Microsoft Learn. This site combines step-by-step tutorials, browser-based interactive coding/scripting environments, and task-based achievements…

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

september

02sep10:00 am10:30 amThe Modern Manufacturer - Cycle Count Management

02sep12:00 pm12:30 pmBest Practices for Work Order Planning and Routing for Field Service Companies

09sep10:00 am11:00 amWhat is Levridge? An Overview of the Ultimate Ag Solution

09sep12:00 pm12:30 pmOverview of Microsoft Promotion for NAV and GP Clients

10sep11:00 am12:00 pmConfab with Stoneridge - Livestream - Field Service Comparisons

16sep10:00 am10:30 amThe Modern Manufacturer - Product Lifecycle Management

16sep12:00 pm12:30 pmHow to Upgrade to Dynamics 365 Finance and Operations: Examining Custom Code and ISV Implications

16sep2:00 pm2:30 pmScheduling and Dispatching for the Modern Field Service Company

23sep12:00 pm1:00 pmDynamics 365 Business Central Wave 2 Release Preview - An Overview of the Most Exciting New Features Coming in October

24sep11:00 am12:00 pmConfab with Stoneridge - Livestream - The Modern Workplace: Teams, Sharepoint, Outlook, Office, and AI Integration

30sep10:00 am10:30 amThe Modern Manufacturer - Return Management

30sep12:00 pm12:30 pmEmpowering Your Field Service Technicians with a Mobile Solution

october

07oct12:00 pm1:00 pmThe Three Paths to Business Central from Dynamics GP

08oct11:00 am12:00 pmConfab with Stoneridge - Livestream - The Vision and Strategy of Microsoft Business Systems

14oct10:00 am10:30 amThe Modern Manufacturer - Complex Cost Modeling

14oct12:00 pm12:30 pmGenerating Custom Inspection or Process Forms

19octAll Day22Stoneridge Connect Fall 2020

22oct11:00 am12:00 pmConfab with Stoneridge - Livestream - Stoneridge Connect Recap

28oct10:00 am10:30 amThe Modern Manufacturer - Engineering Change Orders

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X