web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Get data from BC Online to Power BI - fundamental problem?

(0) ShareShare
ReportReport
Posted on by 456

Dear BC/NAV experts. 

I understand that to get data from BC Online you need to grab it from a Webservice (understandable - I'm used to this in Dynamics 365 for Sales).

But here's some fundamental problems that I hope some BC expert inhere can answer - I'll use an example to address the problems:

PROBLEM 1 - access to the right fields - why can't I see all fields easily???

  • I would like to make reports on the Posted Sales Invoice table (112) and have created a Webservice on page 143
  • It's possible to view the table 112 in a browser using this URL: https://businesscentral.dynamics.com/?table=112 (you need run table rights)

BUT: 

  • Question1: Is it true that you cannot connect Power BI to the ...?table=112 page so you can get the fields you need??
  • Question2: If I connect Power BI using the posted web service I miss important fields in the data set (i.e. sell-to-customer number / bill-to-customer number / exchange rate / amount) - why don't I see these fields when I use the opened web service?

PROBLEM 3 - performance problem since you cannot choose which fields to fetch in the Source Query in Power BI???

  • Question3: when getting data from the webservice it retrieves ALL columns always - isn't it possible to choose which columns to retrieve?

Hope someone can help me - for if the stuff above is true you will need both a Business Central and a Power BI consultant to make proper Power BI reporting from Business Central Online - and you will never be able to make smart standard packages in Power BI, if we need to activate a webservice (where you randomly choose a name for it)

PLEASE point me in the right direction, since I'm building nice new reports for a customer who just switched from E-conomic (a Dansih ERP platform) to BC Online

/Henrik (WIKAP.DK)

I have the same question (0)
  • Verified answer
    Olister Rumao Profile Picture
    3,967 on at

    Hi Henrik,

    You are right about the accessing the data into Business Central via Web services.

    Although there is also API which can help you docs.microsoft.com/.../

    Coming to your questions:

    Question1: Is it true that you cannot connect Power BI to the ...?table=112 page so you can get the fields you need??

    Answer: No, I don't think so. It is just to view your data as there is not back-end access like NAV.

    Question2: If I connect Power BI using the posted web service I miss important fields in the data set (i.e. sell-to-customer number / bill-to-customer number / exchange rate / amount) - why don't I see these fields when I use the opened web service?

    Answer: The pages used in Web Services only display those fields which are visible on the page itself. If there are standard set of fields which are hidden, you can add more fields using docs.microsoft.com/.../devenv-inclient-designer.

    Apart from the fields which are present in table but not available to be add from designer, you will have to create a customization through page extension

    docs.microsoft.com/.../devenv-page-ext-object

    Question3: when getting data from the webservice it retrieves ALL columns always - isn't it possible to choose which columns to retrieve?

    Answer: As mentioned in answer for question 2, you can choose to hide the fields that you don't need. To limit the number of records, you can add filters www.olisterr.tech/.../understanding-apis-in-business-central.html

    I hope this helps!

    Let me know if you need more details.

  • wikap.dk Profile Picture
    456 on at

    Dear Olister,

    Can't thank you enough for the exaustive answer you provide me above and for taking the time to write it! This is excatly the information I need in order to start work (I was afraid to run in the wrong direction).

    But the overall approch surprises me - this will make it really hard to make standard Power BI packages, since they will depend on if the customer has hidden fields in their pages. It will be hard for a BI consultant to make simple reports without having to involve BC consultant also (and fiddle inside the BC platform of report only reasons)

    I hope Microsoft will take this idea one day and make a new improved standard Power BI connector, that hits the tables directly, have filter options and also column selection, in order to keep flexibility and performance high.

    Thanks again and take care these Corono-days :)

    /Henrik

    PS: the second "Designer" link you provided above failed ... found the correct one using google: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-inclient-designer

  • Chris Bulson Profile Picture
    on at

    Hello,

    Just to add on to this.  You can create custom Query objects through extensions that only pull the data you need for reporting.  These can be published as Web Services once you've installed them through an extension.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-query-object

    Thanks,
    Chris

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans