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 / Adding rows into table...
Power Apps
Unanswered

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

 

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    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

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard