Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Power BI with Business Central

(1) ShareShare
ReportReport
Posted on by 1,610
I've connected Power BI desktop to our test Business Central site and noticed that the default API's is very basic.  For this exercise we've found general ledger transactions to only have the main GL account and no dimension codes.  A scan through the other tables or objects exposed in the API I am not seeing anything else that would have the GL and dimension detail.  Is this not built into the API?  Without doing any development is there a way to get a better set of tables and objects?
 
Please advise.  Look forward to a response. 
 
JG
  • JGarcia123 Profile Picture
    JGarcia123 1,610 on at
    Power BI with Business Central
    Thank you Texas, that worked, and it will help us now.
     
    A quick follow up question; I see that the new object was published back into the API, but it is under the legacy web services.  Is that a depricated feature?  We are in the process of building our practice and trying to establish best practices.  
     
     
     
  • Verified answer
    texasbbqribs Profile Picture
    texasbbqribs 62 on at
    Power BI with Business Central
    With the existing items, you unfortunately have to pull in the DimensionSetEntries web service and join it to the G_LEntries web service based on the dimension set ID column. You'll need to create additional queries in Power Query based on the DimensionSetEntries object to separate the dimensions. 

    However, I'm going to get another way for you that will make it easier. 

    Here's a better way. 

    Start by creating a new web service. Search for web services. 




    On the next window you will be able to select many more columns, including the dimensions. 


    Select Publish. 

    Voila! 

    Go into Power BI and select this new object. 

    You can also create a data set based on the dimension set values or multiple data sets based on them by using the filter option. Then you'll have your dimension code names. 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans