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 Automate / Update a row dynamically?
Power Automate
Unanswered

Update a row dynamically?

(0) ShareShare
ReportReport
Posted on by 2

Hello,

 

I'm working on flow that checks new incoming data against pre-existing data for accounts in our database. 

 

It's a bit convoluted, but in short I have a loop which loops through an array of the fields I am checking, so data[0] is "address1_line1". Inside this loop I check two other arrays, newData and oldData which are the corresponding values for the fields so newData[0] is "123" and oldData[0] is "456". However I have a second condition which checks if oldData = null and newData != null whereby I want to update the associated account with the data.

 

I can't work out how to dynamically update a row. I want to use the data array containing the fieldnames as a dynamic variable to target the field I want to update. So if data[1] is "address1_line2" and newData[2] is "123 ave" but oldData[2] is null. However if I use an Update a Row node it seems I'm limited to manually mapping the fields I want to update whereas I want to update the field corresponding to data[2]

 

Hope this makes sense - I feel as if I am missing something that's right before my eyes but I'm having a hard time as it stands.

 

Thanks in advance

Categories:
I have the same question (0)
  • icfred Profile Picture
    2 on at

    Okay I managed to do it literally right after I posted this, always be like that huh.

     

    I managed to avoid the pre-defined fields appearing in the Update a Row node by making a compose node containing "accounts" to link to the Table which allows me to access the Row Item field instead. 

     

    Is there a way I can select the Table in the Update a Row node and still have access to the Row Item field?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard