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 Apps / Update multiple matchi...
Power Apps
Answered

Update multiple matching records in SharePoint

(0) ShareShare
ReportReport
Posted on by 54

Good morning all,

I am trying to navigate an issue around delegations whereby my SharePoint list has 120,000 records, and each record has one or more members of staff who own the record (Column name 'StaffID', eg value u1234567). I use the following formula in the Items property of a gallery to only display the list of records relating to that logged in staff member, so they can then action the record:

 

Filter(SharePointListName, 'Staff ID'= varUserID)

 

where varUserID is a global variable derived from the User() properties.

 

This works fine except for some records my 'Staff ID' column can contain data such as "u1234567, u2345678" (ie 2 people own the record).

 

I want this one record to show up in both peoples list, so I change the Item property formula to:

Filter(ARIES2020FORCodes, varUserID in 'Staff ID')

However this doesnt work on my list of 120,000 records as the 'in' operator is not delagible so I only get results from the first 2,000 records.

 

So I hit a brick wall with that approach (I believe).

 

My new plan of attack is for my SharePoint list to only have 1 Staff ID value for each row (as this then avoids delegation issues). If there are 2 owners for a record, I update my SharePoint list to have 2 rows for the record each with a different Staff ID.

My only challenge now is if one staff member updates the value of another column in the record, I want it to update both records based off another key field (publicationID). This way the other user can see the change too.

I know perhaps not the best architectural design but it will work for what is a short term project.

 

So asking if any thoughts on whether this can be done and what the syntax is - like a patch or something - I would be very grateful for your thoughts.

 

cheers,

Andrew

 

Categories:
I have the same question (0)
  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @AndrewGibson1 To update multiple records at the same time you can use the UpdateIf() function.

    UpdateIf(yourSPList, publicationID=mypublicationID, {columns to update})

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard