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 Automate / Copying selected excel...
Power Automate
Answered

Copying selected excel table rows

(0) ShareShare
ReportReport
Posted on by 29

I'm having problems finishing off a flow to copy selected rows. What I am trying to achieve is to the copy selected rows of a table into a new worksheet that has a copy of the source table i.e. exactly the same columns headers. I've done this by adding a filter action and selecting the rows that meet the filter criteria. Easy enough. 

 

How do I then take the selected rows from the filter and copy them to the new table? All the attempts to do this have resulted in the outputs from the filter going into the new table not the actual cell entries for the respective source table columns into the destination table columns. 

When I use the add a row action there is no dynamic data from the filter array aside from outputs making it easy to distinguish which of the filtered row outputs goes into which column in the new table. 


Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @NeilNPH ,

     

    An easy trick is using a Parse JSON action, copy and paste the output of Filter array (you can get it from a run history) to generate JSON schema, then dynamic contents from output of Parse JSON can be used in the add a row action:

    vjefferni_0-1683514353898.png

     

    If you have got deeply familiar with Power Automate expression, you can also write expressions to get desired values:

    vjefferni_1-1683514431839.png

    items('Apply_to_each')?['ColumnsOfFilterArray']

     

    Anyway, you can copy outputs of Filter array from previously run history and paste to a blank Text document for a later use. You'll be able to find all column names and generate JSON schema.

     

    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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard