How to Integrate Power BI with Dynamics 365 Business Central

by | Updated March 15, 2018 | Dynamics 365 Business Central, Power Platform

In this post, we’ll cover how to integrate your Dynamics 365 Business Central instance directly with Power BI (free version).

Power BI for Dynamics 365 Financials

Prerequisites

Office 365 account with Dynamics 365 Business Central and Power BI (free) accessible. This is not normally an issue unless you are in an Office 365 demo/tenant environment with limited apps.

Contents

  1. Verify User Account and Web Service Authentication Key
  2. Verify OData URL to Connect to Power BI
  3. Power BI Get Data – Connect to Dynamics 365 Business Central
  4. Add Power BI to Dynamics 365 Business Central Role Center

1. Verify User Account and Web Service Authentication Key

  1. In Dynamics 365 Business Central, navigate to the Users page. (Either use the search for Users or navigate to Company Settings > Users.)
  2. Select your User Account and click Edit

Power BI and Dynamics 365 for Financials

  1. Verify your User Name (which may be different from your Office 365 account)
  2. Verify your “Web Service Access Key” if the field is blank or you’d like to generate a new one, click “Change Web Service Access Key” in the ribbon

Power BI and Dynamics 365 for Financials

We’ll be using the User Name and Web Service Access Key in upcoming steps.

2. Verity OData URL to Connect to Power BI

  1. To find the OData URL in Dynamics 365 Business Central:
    • Use the search to find Web Services
    • Copy the OData V4 URL from one of the services and strip off the end

Power BI and Dynamics 365 for Financials

In the current integration, we need to modify this URL to use with Power BI. 

  1. Copy the URL to Notepad or a similar text editor. It should look something like the following:
    • BEFORE: https://myinstance.financials.dynamics.com:7048/MS/ODataV4/Company(‘My%20Company’)/powerbifinance?tenant=mod408643.financials.dynamics.com
      • Remove any content between “Company(‘My Company’)/” and “?tenant=”
    • AFTER: https://myinstance.financials.dynamics.com:7048/MS/ODataV4/Company(‘My%20Company’)/?tenant=mod408643.financials.dynamics.com

We’ll use this modified URL in the next step.

3. Power BI Get Data – Connect to Dynamics 365 Business Central

With your Dynamics 365 Business Central OData service and authentication verified, you are ready to connect Power BI to Dynamics 365 Business Central.

  1. Go to www.powerbi.com (sign-in with Office 365 credentials)
  2. Get Data > Services

Power BI

  1. Search for Dynamics 365 Business Central. You’ll notice three out-of-the-box dashboards. We’ll use the standard dashboard for the remained of this walk-through, but the steps can be repeated to pull in all three. Select Dynamics 365 Business Central and click Get it Now.

Power BI

  1. In the OData Feed URL, enter the URL you modified in the Verify OData URL to Connect to Power BI step.

Power BI

  1. After clicking next, this will ask for an Authentication Method. Choose Basic, fill in the user name and password and click sign in.
    • Username = Your username from Dynamics 365 Business Central, which may be different than your Office 365 account
    • Password = Your Web Service Access Key
    • NOTE: Be careful of spaces at the beginning or end of your key. You can paste the key to Notepad to verify. 

PowerBI8

PowerBI9

PowerBI10

Once imported, your Dynamics 365 Business Central dashboard will be accessible on Power BI.

Dynamics 365 Business Central Dashboard

PowerBI11

Dynamics 365 Business Central – CRM Dashboard

PowerBI12

Dynamics 365 Business Central – Sales Dashboard

PowerBI13

4. Add Power BI to Dynamics 365 Business Central Role Center

After you have connected Power BI to Dynamics 365 Business Central, you can also pull the stock (or your modified) Power BI reports onto your Role Center(s). Here’s how to do that:

  1. Open a Role Center in Dynamics 365 Business Central and scroll down to the Power BI Reports section.
  2. Click Power BI Reports and select Reports.
  3. Select the Report(s) you want to see and click Enable and then OK.

PowerBI14

You’ll now see the initial report visualization added to your Role Center. You can click and focus on different sections or click the Power BI Reports drop down, which will have additional features to expand, show previous or next report in the series.

PowerBI15

Expand:

PowerBI16

You may find that there is a particular visual you’d like to emphasize on your Role Center. You can always modify a report in Power BI and pull that into Dynamics 365 Business Central. For more information on modifying Power BI reports, check out this link.

Troubleshooting

Verify the OData URL is Accessible

If you are unsure of access to your OData URL, you can walk through the following steps outside of Power BI to troubleshoot. The steps are initially the same as Verify OData URL to Connect to Power BI.

  1. To find the OData URL in Dynamics 365 Business Central:
    • Use the search to find Web Services
    • Copy the OData V4 URL from one of the services and strip off the end.

PowerBI17

In the current integration, we need to modify this URL to use with Power BI. 

  1. Copy the URL to Notepad or a similar text editor. It should look something like the following:
    • BEFORE: https://myinstance.financials.dynamics.com:7048/MS/ODataV4/Company(‘My%20Company’)/powerbifinance?tenant=mod408643.financials.dynamics.com
      • Remove any content between “Company(‘My Company’)/” and “?tenant=”
    • AFTER: https://myinstance.financials.dynamics.com:7048/MS/ODataV4/Company(‘My%20Company’)/?tenant=mod408643.financials.dynamics.com

Using the modified URL:

  1. Open a new tab and open the modified URL
  2. When you enter your URL, you will be prompted with a login.
    • Username: Your username from Dynamics 365 Business Central, which may be different than your Office 365 account
    • Password: Your Web Service Access Key

PowerBI18

NOTE: Most versions of Internet Explorer will give a message “Cannot display this feed.”

PowerBI19

Using another browser such as Google Chrome will work to display/verify the feed.

PowerBI20

Related Posts

0 Comments

Submit a Comment

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

Upcoming Events

may

05may2:00 pm2:30 pmSimplifying Item Pricing, Availability, and Tracing for Batch Manufacturers

06may11:00 am12:00 pmConfab with Stoneridge - New Features to Empower Your Remote Workforce

12may10:00 am10:30 amThe Modern Manufacturer: Manufacturing Software in the Real World

12may12:00 pm12:30 pmFinancial Implications of Moving from Dynamics GP to Dynamics 365: Licensing and Infrastructure

17may(may 17)8:00 am28(may 28)11:00 amDynamics 365 Finance & Supply Chain Development Training - Online Workshop

19mayAll Day20Manufacturing and Microsoft Technology Conference

19may9:00 am10:00 amWhat is Your Global Manufacturing Strategy? Is It Time to Reshore?

19may10:30 am11:30 amFour Keys to Choosing the Best ERP or CRM Solution

19may10:30 am11:30 amGetting and Keeping Customers in 2021 and Beyond

19may10:30 am11:30 amMastering the Production Floor

19may12:00 pm1:00 pmImagining the Possibilities with Dynamics 365 for Manufacturing

19may12:00 pm1:00 pmBeyond Reporting - What BI Can Do For Your Manufacturing Operation

19may1:30 pm2:30 pmSmart Field Service for Manufacturers and Distributors

19may1:30 pm2:30 pmV is for Victory - The Elements of a Successful MRP Implementation Rollout

19may3:00 pm4:00 pmLot Management Strategies and Best Practices

19may3:00 pm4:00 pmSelling Through a Complex Channel - Distributor Management

20may10:00 am11:00 amManufacturing Technology in 2021 - The Impact of Digital Transformation

20may12:00 pm1:00 pmThe Power of a Connected Shipping Solution

20may12:00 pm1:00 pmEmployee Experience with Company ERP Implementations and Recommendations to Increase Employee Satisfaction

20may1:30 pm2:30 pmReporting and Business Intelligence Strategies for Today's CFO

20may1:30 pm2:30 pmSelecting and Implementing ERP: Don’t Leave it to Chance

20may3:00 pm4:00 pmCybersecurity Tips for Manufacturers – How to Protect Yourself From Ransomware & Other Vulnerabilities

20may3:00 pm4:00 pmEnsuring Quality for Batch Manufacturers

20may3:00 pm4:00 pmGuaranteeing ERP Project Success with an Enterprise Process Review

26may10:00 am10:30 amFinancial Implications of Moving from Dynamics GP to Dynamics 365: Services

26may10:00 am10:30 amThe Modern Manufacturer - Enterprise Asset Management

june

01jun8:00 am02(jun 2)11:00 amPower BI for Dynamics 365 - Online Workshop

02jun2:00 pm2:30 pmBusiness Intelligence for Batch Manufacturers

09jun10:00 am10:30 amThe Modern Manufacturer - Machine Maintenance Work Orders

23jun10:00 am10:30 amThe Modern Manufacturer: Cost Accounting in D365

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