cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mambiger
Frequent Visitor

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

Hi,

 

I am creating Power app form in one of the SharePoint lists.  When I try to run it, I get this error "The requested operation is invalid. Server Response: NSR Test failed: The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold. clientRequestId: d261735b-d54f-466a-8889-e7db8fd8f4 serviceRequestId: d261735b-d54f-466a-8889-e7db8fd8f4".

 

Can you please let me know any solution for this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@mambiger 

I think they up'ed the limit to 12 some time ago, but it has never been an issue for me as we rarely use any lookup columns in a list.

 

Yes, the default form in SharePoint will handle it fine, but a customized PowerApp form will only handle the 8 (or 12 as I believe you are correct) lookup columns in it.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

4 REPLIES 4
RandyHayes
Super User
Super User

@mambiger 

You can only have a max of 8 lookup columns in your list.  This includes people columns.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Thanks for the reply @RandyHayes . I am creating custom form for adding a new record to a SharePoint list. It is working when adding new record with the default form. So, does that mean, if Power app has limitation of 8 lookups? I read in other posts that 12 is the limit.

 

Thanks,

Mahantesh

RandyHayes
Super User
Super User

@mambiger 

I think they up'ed the limit to 12 some time ago, but it has never been an issue for me as we rarely use any lookup columns in a list.

 

Yes, the default form in SharePoint will handle it fine, but a customized PowerApp form will only handle the 8 (or 12 as I believe you are correct) lookup columns in it.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

@RandyHayes 

Any way to incorporate 12+ lookups in custom forms power apps?

 

Thanks,

Mahantesh

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,556)