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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Data extract from multiple table sources into a single CSV file

(1) ShareShare
ReportReport
Posted on by 592
Hello,
I have a requirement to generate a CSV file which will contain data from multiple source tables and likely require some code logic. I will need to export project data (ProjTable) including the forecast records (ProjForecastEmpl and ProjForecastCost), then within the same CSV file but as separate lines, pull in project category (ProjCategory). 
 
TypeValueDescriptionRelated codeRelated value
ProjectPROJ001ExtractionCategory codeERF1
ProjectPROJ001SeedingCategory codeSRF1
Category codeERF1Mobilization  
Category codeSRF1Retention  
 
Ideally, I would like to be able to generate the extract using a custom data entity (if possible) so a Power Automate job could trigger, create, and handle transmission of the file. I would likely need to add logic in code to ensure I send only required category codes. 
 
I could create a batch job to generate/load the data into a temp (or regular) table, but the export of that data to a format that Power Automate would then be an unknown for me. Maybe a data entity would make the most sense here after the data is 'staged'. 
 
Without knowing all the minute details, which one sounds the best options, and what other options have I not considered?
I have the same question (0)
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    Data extract from multiple table sources into a single CSV file
    Hi,
    Creating custom entities is a good choice. You can create a custom data entity that contains the fields you need to fetch from different tables, and write custom code according to your needs. You can then use Power Automate to trigger the export of this data entity, exporting it as a CSV file.
    Or you can use the export feature of the data management framework: Data management overview - Finance & Operations | Dynamics 365 | Microsoft LearnWith that feature you can very easily create csv data exports.
    Or you can export data directly from the FO using power automate. Refer to this thread, but I haven't tried this method: Export data from d365 F&O to csv file - Power Platform Community (microsoft.com).
    These methods require you to obtain the data you need through custom development.
    Best regards,
    Kevin
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    Data extract from multiple table sources into a single CSV file
    Hi,
    Yes, that's what I mean. You can refer to this official document: Build and consume data entities - Finance & Operations | Dynamics 365 | Microsoft LearnThis tutorial shows how to build an entity and how to consume some out-of-band (OOB) entities in an integration scenario.
    Best regards,
    Kevin

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,100

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 890 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 633 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans