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 / Preferred method to ru...
Power Automate
Answered

Preferred method to run through and update a table in excel

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I have been working with a few different flows to keep track of data.  In the past I used JavaScript to control this type of work and found it to be pretty straight forward to define an array and use a FOR loop to go through each line along with a nested IF statement to check values and update based on the item I am checking.  It seems to be straight forward in flows using an apply to each function with a condition nested that would update a row based on what is found.  I can tell that the flow runs through the whole table but it does not seem to update the row the way that I anticipate.  

 

This is going to be a common function for me and I am open to any suggestions as to how to better perform this operation.

 

The attached images are the flow that I am trying to run and the table it is connected to.

 

looping.JPGtable.JPG

 

 

Thanks for any help!

 

Ryan

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I found that by adding a column to the data that i update using an incremental count works well to give a unique value to use to be able to update rows in this method.  I will continue to use this method unless I find a more efficient method.

     

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard