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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Adding rows into table...
Power Apps
Answered

Adding rows into table from dynamic file, unable to map columns

(0) ShareShare
ReportReport
Posted on by 3

Hi Everyone,

 

We have a use case where we are recieving multiple excel files (always the same format)  into a onedrive folder and want to extract the rows from table in the excel file and insert into common document.

 

Source file name is dynamic, table is always called table1 

 

Destination file is static and table1 matches table1 in the source for column names

 

The problem is that in the add rows to table function I cannot see a way to map the column names from the source.

 

I have attached a screen shot of the flow.

 

Does anyone have any ideas how to resolve this ?

 

Thanks

Matt

 

flow.PNG
Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @mdavies456 ,

    Could you please share a bit more about your scenario?

    Do you want to achieve your needs using Power Automate flow?

     

    Based on the needs that you mentioned, I think the Workflow Definition Language expression could achieve your needs. I have made a test on my side, please consider take a try with the following workaround:

    3.JPG

    Within the "Add a row into a Table" action, set the TaskName field to following:

    item()?['TaskName']

    set the Executor field to following:

    item()?['TaskID']

    ...

    ...

    The flow works well as below:

    4.JPG

     

    On your side, please configure your flow as I mentioned above (remove the "Get Tables" action from your flow). Within the "Add a row into a Table" action, set the Name field to following:

    item()?['Name']

    set the Email field to following:

    item()?['Email']

    set the Studio field to following:

    item()?['Studio']

    ....

    ....

     

    More details about the Item() expression, please refer to the following article:

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#item

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard