web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 7sfzBZ/R/6Xo9v4XMp8nHD
Power Automate - General Discussion
Answered

Update a row with condition

Like (0) ShareShare
ReportReport
Posted on 13 Oct 2023 07:27:43 by 38

Hello,

 

could you please help me to find a solution for my flow?

 

I'm trying to update a row with validation. So if a specific row return a specific value, it must be changed by another.

 

first step condition: check on each cell of Status column if it's Resolved (data validation list in Excel)

 

LoDurbano_0-1697181912649.png

 

if yes: change the status to Closed for each one:

 

LoDurbano_1-1697182001069.png

but not working, flow failed.

 

Thanks!

 

I have the same question (0)
  • LoDurbano Profile Picture
    38 on 13 Oct 2023 at 09:56:28
    Re: Update a row with condition

    @v-xiaochen-msft  ok i found my issue... Value in the first column (ID) is mandatory.

    now it's working fine 😉

     

    Thank you

  • Verified answer
    LoDurbano Profile Picture
    38 on 13 Oct 2023 at 08:56:50
    Re: Update a row with condition

    Thanks a lot @v-xiaochen-msft!

    i tried with a new small table and it's working fine. 

    With mine, i have same errors. So i create new one with same columns.

    error is :

    LoDurbano_0-1697187340267.png

    Some cells changed. Maybe there is a limit for the flow?

    My table contains 50 rows.

     

    Thanks,

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 13 Oct 2023 at 07:55:40
    Re: Update a row with condition

    Hi @LoDurbano ,

     

    I test it in my side , the issue is in the "key Column" and "key Value" in your "Update a row" action.We can't use Status as our key column, we need to find an ID column with a unique row as our key column here, so that Power Automate can know which row to modify.

    This is my test table:

    vxiaochenmsft_0-1697183722169.png

     

    So i configure the  "Update a row" like this:

    vxiaochenmsft_1-1697183722172.png

     

    Then we can run this flow successfully. The result is as follows:

    vxiaochenmsft_2-1697183722172.png

     

    vxiaochenmsft_3-1697183722173.png

     

    Best Regards,

    Wearsky

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 626 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 374 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 284 Most Valuable Professional

Last 30 days Overall leaderboard