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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating a flat file c...
Power Apps
Unanswered

Creating a flat file csv from AI Builder tables and header fields

(0) ShareShare
ReportReport
Posted on by 2

Hello,

 

I am using the Unstructured Documents Custom Model for some PDF contracts.

 

The original PDFs are structured like this:

 

Proposal Number13450      Order Date08/31/2023
BuyerJane Doe      Version3
Order Number580        
          
    Week  
RefererenceProductCategoryRate1234Total Cost 
1Product ACOR1656.0012 513248.00 
 09333059        
2Product BRET50.0035931000.00 
 037384934        

 

I have trained the model to recognize the header fields and the items table. The model successfully recognizes multipage table results like this:

 

refprodprod_codecatratewk_1wk_2wk_3wk_4
1Product A09333059COR1656.0012 5
2Product B037384934RET50.003593

 

How to I use the model in a flow to export the header fields and table to a flat file csv like this?

 

prop_nobuyerorder_noorder_dateversionrefprodprod_codecatratewk_1wk_2wk_3wk_4
13450Jane Doe58008/31/202331Product A09333059COR1656.0012 5
13450Jane Doe58008/31/202332Product B037384934RET50.003593

 

Please note I am looking to export each document's data to separate csv files.

 

Many thanks in advance for your help!

Categories:
I have the same question (0)
  • JoeF-MSFT Profile Picture
    on at

    Hi @ebgen - thanks for your patience on this one. In case you didn't get a solution, it is possible to combine an a row in Excel values from the header and values from tables. Look at the example below, the top items are header values and the two last ones are tables. In this example, 'line items' is the name of the table, and 'descriptions' and 'amount' are columns. 

     

    Happy automation! 🤖

     

    JoeFMSFT_0-1704389708548.png

     

  • ebgen Profile Picture
    2 on at

    Thanks Joe! I will try it out.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard