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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Export data from multiple tables to excel

(1) ShareShare
ReportReport
Posted on by 3,542

I am working on a cash flow add-in.

I need to export data from multiple source tables to excel. For example: Cash flow can be influenced by AP, AR and BudgetModel. So fields from all three tables need to be displayed as one. The data just needs to be displayed - editing is not necessary. But it needs to be real time - needs to work with that Excel add-in that allows refresh.

I don't know where to begin. The quick ("bad") solution is probably to copy relevant data to some table and export that one - which creates multiple issues.

I am capable of building entities. Further I have a hunch Maps or maybe a union query could be the solution. (I do not know much about either.)

Thanks for reading

*This post is locked for comments

I have the same question (0)
  • Pete Alberts Profile Picture
    3,542 on at
    RE: Export data from multiple tables to excel

    Thanks Crispin :)

    So if a can put your solution in steps:

    1. Create union query for tables

    2. Use that query in a view

    3. Create an entity for the view

    Did I understand correctly?

    If I did not... This is my train of thought: With the experience / knowledge I have I understand that you need an entity to export to Excel. And an entity can be created for a table or view. So I need a view. And a view needs a query.

  • Pete Alberts Profile Picture
    3,542 on at
    RE: Export data from multiple tables to excel

    I don't understand what you meant with that I should copy data to a table as you also suggested I use a view.

  • Pete Alberts Profile Picture
    3,542 on at
    RE: Export data from multiple tables to excel

    Thank you so much.

    What does DMf mean?

    Last question. Regarding the 4th step. I was planning to just create an entity from the view. Will that not work? And is your suggestion an extra to the entity or a replacement?

  • Pete Alberts Profile Picture
    3,542 on at
    RE: Export data from multiple tables to excel

    The AOT element Data Entity. It is the only export method I was aware of. docs.microsoft.com/.../data-entities

    Thanks in any case. It'll be much appreciated if you can still answer my last question. But you helped more than enough.

    Regards

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans