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 / How to add on addition...
Power Automate
Answered

How to add on additional data into another column within For Each loop?

(2) ShareShare
ReportReport
Posted on by 95
Hi All,
 
Currently I built a flow by comparing 2 list & get the differences values between it. 
Once I got it, i will need to add in to an existing list. 
But with the different value add-on, i would like to add a on let say column C, for each of the different value. 
I tried to run as such, but it only wrote on the first value.
 
I have the same question (0)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at
    It is actually writing for each entry in the list, but in line 38 you're writing a list variable, which automatically populates all values, whereas in line 39 you're writing a single string, which only populates a single cell. Since you always write it to the same row, it just keeps overwriting the previous value, and you only get one cell populated.
     
    My suggestion is to do this:
    1. Move line 38 out of the loop - when writing a list, you don't need to do it in a loop. It's enough to write it once.
    2. Add an Increase variable action inside the loop (like the disabled one in line 40), but keep incrementing %FirstFreeRow2%. This will increase the row index in each iteration, and you'll be able to write the checkbox in a new cell for each item in the list.
  • foxngn84 Profile Picture
    95 on at
     
    Thanks a lot for your solution, It works !

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 412

#2
Vish WR Profile Picture

Vish WR 305

#3
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

Last 30 days Overall leaderboard