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

Announcements

No record found.

News and Announcements icon
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 610
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
    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
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 527 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 473

#3
Adis Profile Picture

Adis 284 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans