Introduction

When customizing SharePoint list forms using PowerApps, you may encounter an error stating that the lookup column threshold has been exceeded. This issue often appears even when no custom logic has been added, which can be confusing for developers and users alike.

Example Error

Below is a typical error message seen in PowerApps:

"The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold."

06-04-2026-11-56-30

In this article, I will explain what the lookup column threshold is, why it occurs, and how to resolve it effectively.

What is the Lookup Column Threshold?

In SharePoint, there is a limit on how many lookup-type columns you can use in a single query or view, and this limit is usually around 12 columns.

Below columns are included in this limit:

These columns are included as "lookup" because they retrieve data from another source.

What does NOT count as lookup columns?

Below column types do not consider to the threshold:

Why does this error occur in Power Apps forms?

When you customize a SharePoint form using Power Apps, the form uses a below default formula in the Item property:

If(
   IsBlank(SharePointIntegration.Selected),
   First([@YourListName]),
   SharePointIntegration.Selected
)

Even if you do not change this formula, PowerApps tries to get the full record from the SharePoint list. If your list has too many lookup-type columns, this can exceed the lookup column limit and cause an error.

What is the problem?

Result: Error is thrown

Why Indexing Does Not Help?

A common misconception is that indexing columns will resolve this issue.

But the reality is:

Therefore, indexing does not fix the lookup column threshold error.

How to Fix the Issue

1. Reduce Lookup-Type Columns

Review your SharePoint list and:

2. Simplify the Form

In PowerApps:

3. Redesign the Data Structure

If the list is too complex:

Key Takeaways

Conclusion

By using this article, you can understand the lookup column threshold and why it becomes more visible when using Power Apps custom forms. This helps you design better and error-free solutions in SharePoint.