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 / Error when using patch...
Power Apps
Unanswered

Error when using patch in a sharepoint list "query cannot be completed because the number of looup column it contains exceeds the looup column therhold"

(0) ShareShare
ReportReport
Posted on by 9

So, here's my context:

 

I'm bulding an app with sharepoint data, but I need more than 10k items and I have that awful limitation. so I used power automate flows to get what i need and then triggered it in power apps and transformed all of it in a collection. I have the following code to update an item:

Switch(
    Table_Cases.Selected.Site,
    "LEGM",
    Patch(
        Cases_1,
        LookUp(
            Cases_1,
            CaseID = Table_Cases.Selected.CaseID
        ),
        {
            CaseStatus: {Value: "Closed"},
            CaseActive: {Value: "Closed"},
            ClosingDate: DateTimeValue(
                Text(
                    Now()
                )
            )
        }
    )...but I'm getting the threhold error..
 
 
any tips to what to do?
Categories:
I have the same question (0)

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard