Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Set SharePoint list column value based on the value of the previous row

(0) ShareShare
ReportReport
Posted on by 6

Hi all,

I have a SharePoint list with columns A, B. We want to set the value of A based on the value of B of the previous row. See illustration below. Thanks

 

AB
010
1017
1730
  • AWorley Profile Picture
    AWorley 414 on at
    Re: Set SharePoint list column value based on the value of the previous row

    Hi! 

    In Lists there should be an "ID" column that may be hidden. Set a integer variable as the ID of the new item.  

    You can use the "Decrement variable" action to decrement by 1 to get the ID above your current item. 

     

    The flow should look something like this: 

    AWorley_0-1662568115338.png

     

    Then you can map Value A and Value B to your liking. 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard