Leveraging Power BI for Business Central – Part 2: Get the Data You Want

By Jack Ries | April 3, 2020

Leveraging power bi for business central – part 2: get the data you want

In Part 1 of this series, I showed you how to connect Power BI to your Business Central environment. In this post, I will walk through how to enable you to work with the data you want while also doing some basic data organization.

Web Services

In the last post I showed a list of tables you can load into Power BI that looked like this:

These available tables are found as “Query” or “Page” records in your BC environment on the “Web Services” page:

Each company has its own list of web services, so if you make changes to this list for one company, it will not be reflected in another.

Pages

Page records contain data found in tables used to populate BC pages. Most Pages map 1-to-1 to the tables they pull from, but I have come across a few instances where using the page does not contain all of the fields that the actual table contains. When you need to pull in a field from a table that is not found in the page record, you’ll need to create a Query which requires making an extension. I may show how this can be done in a future post.

For now, if the data you need is not found in this list, go to the page in Business Central on which you see the data, execute Ctrl + Alt + F1 to open page inspection, copy the Page ID number, and add it to the Web Services list:

Be sure to give your new Web Service a type of Page, a Service Name (no spaces allowed), and to check the box to publish the web service.

This Web Service is now ready for use within Power BI the next time you wish to add data.

Queries

Queries are constructed from tables found in the database. The current list of queries found in Web Services are ones that Microsoft provides by default. You may first want to check if any of the existing queries contain the data you need before adding a new Page. They may have intuitive lookups to other tables (e.g. reading from the Customer Ledger Entry table and including additional information about the Customer from the Customer master table), or they may have stripped away additional columns you don’t need which allows for faster data refreshes.

Table linking

Once you load multiple tables into Power BI, both of those tables are ready for use. However, suppose you wish to link two tables together such that you can display data from one table while including additional information from another that is related to that record.

For instance, suppose you wish to see sales numbers broken down by State. The sales information is found on the customer ledger entry table/page. However, there is no State information found on this table. We’ll need to link the Sell-to customer to the Customer No. in the Customer table to find out which state each sale can be assigned to. To do that, we’ll load both the customer ledger entry information as well as the master customer information.

Once they are in, we go to the Model tab and select the fields that are related between the two tables by clicking and dragging between the two fields.

Now, when we create a report of this data, it will automatically know to link these tables and allow for us to display the correct information from each table.

In the next post, I will show how to create new columns and modify the data as needed.

Related Posts

Recommended Reading:

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
5.5.22 Dynamics GP

The Real Story about the Long-Term Future of Dynamics GP Support

I’ve seen a number of people put forward comment that Dynamics GP is going away and you have to get […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Financial Enhancements

The Dynamics 365 Businses Central 2022 Wave 1 Release has a lot of new and exciting features to help your […]

Read the Article
4.29.22 Dynamics GP

Dynamics GP Transaction Removals: Bank Reconciliation

  This is part 2 of a 3 part series on Dynamics GP Transaction Removals. These quick tips will hopefully […]

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