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 / Updating Sharepoint Co...
Power Automate
Answered

Updating Sharepoint Column

(0) ShareShare
ReportReport
Posted on by 42

Hi,

 

I'm trying to update my IsActive column in sharepoint to "yes" if a new item is created. I then want the old rows that shares the same SWO Number to change to "no".

 

So far I have been able to change IsActive to "yes" but I'm having difficultly changing the old rows to "no". Below are some pictures of what I have:

 

sean8397_0-1681739339507.png

sean8397_1-1681739435067.pngsean8397_2-1681739518686.png

Sharepoint (4247 is the SWO Number and the last row should be the one that's checked and no other rows):

sean8397_3-1681739648896.png

 

Thank you!

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @sean8397,

    Do you want to update the IsActive with yes for the new created item but you want to update the IsActive withn no for the existing old rows that shares the same SWO number?

     

    If so , I think you should filter based on Modified and SWO:

    vqiaqimsft_1-1681798548565.png

    Here is the expression you should write in advanced mode from Filter array:

    @and(equals(item()?['SWO'], triggerOutputs()?['body/SWO']),not(equals(item()?['Modified'], triggerOutputs()?['body/Modified'])))

     

    vqiaqimsft_0-1681798370440.png

     

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
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard