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 / Push records from filt...
Power Automate
Unanswered

Push records from filtered array to Datavers table.

(0) ShareShare
ReportReport
Posted on by 151

Hi, 

To tables with 1:1 columns (of course in dataverse are some more):

T1 - xls table

T2 - dataverse table

In both custom ID - UID column

The goals are:

1. to pick up from T1 records which not exist in T2 and put them there

2. to pick up from T2 records which not exist in T1 and update in T2 field 'Active' from Yes to No

My flow is works fine. On the end a have to 'Filter array" and both return what I want:

1st - records from T1

2nd - records from T2

But I dont know how to update the T2

When I use 'Add new rows' and I cannot see 'outputs' from first array. Just the outputs from 1st and 2nd selects.

How can I update and add new rows to datavers table from array ?

knyklu_0-1697132214971.pngknyklu_1-1697132316744.png

 

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,496 Super User 2025 Season 2 on at

    Hi @knyklu ,

     

    Assuming you wish to create a new item for each item left in the array after Filter 2, I suggest you insert an 'Apply to each' action where you set the output of filter 2 as the input.

     

    Inside the loop, you can then add the 'Insert a new row' action. In case the fields are not showing in dynamic content, you can use the item() function to reference the current item and then manually select the field to use. In the below, the 'Account' field is selected:

    BCBuizer_0-1697133001403.png

     

  • knyklu Profile Picture
    151 on at

     

    Update: OK, I have found the solution. The row ID is not "Name" column. 

    Thanks.

     

    Hi @BCBuizer 

    Thanks for help.

    Adding new records works fine. The problem is with updating:

    The ID Row of dataverse table is cr574_name.

    (when I use just 'Name" from 'Dynamic Content'  new Apply for each jumping inside)

    knyklu_0-1697193713895.png

     

    In result, I got the error.

    Inputs are OK. There should be only one record to update.

    knyklu_1-1697193822768.png

    And a list of fields. The 'Name' is not a unique (in the properties of the table is set as 'Optional' and as autonumber).

    knyklu_2-1697194351117.png

    What am I doing wrong?

    PS. Sorry for my English.

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard