Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to determine which tables extract data from (SQL connection in Excel)

(0) ShareShare
ReportReport
Posted on by 5

Hello everyone,

I hope this is the proper place to ask this question, otherwise I apologize.

It's a somewhat basic question, but I'm unable to find an answer to it. 

I'm trying to extract data from AX into Excel by connecting to the AX SQL-server within Excel. I'm able to establish a connection to the SQL-server and see all the available AX data. My difficulty however lies in determining, which of the available tables in the established connection I'm supposed to extract data from? 

After all, there're >5000 tables and a ton of data; Suppose therefore I'd like to see the balance of all ledger accounts; How would I as an AX user be able to determine the name of the table within my SQL-connection, from which I'd need to extract data from? 

pastedimage1656673644521v1.png

I hope my question makes sense. 

  • Suggested answer
    RodRodriguez Profile Picture
    on at
    RE: How to determine which tables extract data from (SQL connection in Excel)

    Howdy Mathias,

    So, what you would need to know is what entity (table) is the ledger balance a part of?  Then you would look in that table to find the field that has that data

    In the following picture for example the dbo.account is the account entity, and if you were to open it up you would see the fields for that entity

    pastedimage1657117119640v1.png

    Here is a Microsoft Document page talking about the tables

    https://docs.microsoft.com/en-us/dynamicsax-2012/developer/tables-overview

    And here is a third party webpage that talks about getting SQL data from Dynamics
    https://microsoft-business-applications.hcltech.com/dynamics-365/use-sql-to-query-data-from-cds-and-dynamics-365-ce/

    Hope that helps you find what you are looking for!

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans