cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sidney80
Level: Powered On

Error: The query cannot be completed because the number of lookup columns it contains exceeds

Hi guys,

 

I'm currently running into the following error in PowerApps....

 

First, the error in SP designer makes it seem like it's coming directly from PowerApps.  I pretty sure it has to do with some limitation with Sharepoint and lookups.  

Error_In_PowerApps.png

My team working on Flow was trying to test but PowerApps now throws this error and doesn't allow any of the data from the list to display.  

Lookup_Error.png

 

 

Aside from undoing the "test Flow" what can we do solve for this error?  I guess first is for me to understand where and why the error throws.  Then next possible solutions to workaround this apparent limitation.  The error mentions "enforced by the administrator" could this just simply be for them to increase a limit then all is well?  

 

Referenced: https://blog.portiva.nl/2018/07/04/microsoft-flow-get-item-from-list-with-more-than-12-lookup-column...

 

Thanks,

-Sidney

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Error: The query cannot be completed because the number of lookup columns it contains exceeds

Hi @sidney80,

 

 

SharePoint has lookup column threshold of 12 for now. But please notice what is said here:

https://blogs.msdn.microsoft.com/spses/2013/12/02/sharepoint-20102013-list-view-lookup-threshold-unc...

"Note : The List view Lookup Threshold has been revised to Default of 12 in SharePoint 2013 , after applying the June 2013 CU update. http://support.microsoft.com/kb/2817414

Any new Web-Application created will have List View Lookup Threshold set to Default =12 , While the values on Existing Web-apps needs to be modified Manually ."

 

This applies to SharePoint online too. Lists created before this timeline in SharePoint online will share the List View Lookup Threshold set to Default =8. Lists created after this timeline in SharePoint online, will have List View Lookup Threshold set to Default =12. 

 

With on-premises SharePoint, these throttles and limits can be changed on the Resource Throttling page in Central Administration. But on SharePoint online, increasing the List View Threshold is not permitted

 

Hope this could help.

 

Regards,

Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
5 REPLIES 5
Community Support Team
Community Support Team

Re: Error: The query cannot be completed because the number of lookup columns it contains exceeds

Hi @sidney80,

 

 

SharePoint has lookup column threshold of 12 for now. But please notice what is said here:

https://blogs.msdn.microsoft.com/spses/2013/12/02/sharepoint-20102013-list-view-lookup-threshold-unc...

"Note : The List view Lookup Threshold has been revised to Default of 12 in SharePoint 2013 , after applying the June 2013 CU update. http://support.microsoft.com/kb/2817414

Any new Web-Application created will have List View Lookup Threshold set to Default =12 , While the values on Existing Web-apps needs to be modified Manually ."

 

This applies to SharePoint online too. Lists created before this timeline in SharePoint online will share the List View Lookup Threshold set to Default =8. Lists created after this timeline in SharePoint online, will have List View Lookup Threshold set to Default =12. 

 

With on-premises SharePoint, these throttles and limits can be changed on the Resource Throttling page in Central Administration. But on SharePoint online, increasing the List View Threshold is not permitted

 

Hope this could help.

 

Regards,

Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
npokhrel123
Level: Powered On

Re: Error: The query cannot be completed because the number of lookup columns it contains exceeds

I am not even using any lookup field in my list why am i getting this error in powerapps?

Michelle
Level: Powered On

Re: Error: The query cannot be completed because the number of lookup columns it contains exceeds

There is no solution. You start out with 4 out of the box columns, created, created by, modified, modied by. So you actually then only have 8 columns left. Then if you use People or Group Columns, those are also classified as lookup columns. Then if you have used SharePoint Designer, those Workflow Status columns are also recognised as lookup columns. I have seen so many posts, where the answer is marked as 'Solution', which is absolutely not true. This lookup column threshold limit is EXTREMELY limiting when building even a slightly complex solution. 

LukeC
Level: Powered On

Re: Error: The query cannot be completed because the number of lookup columns it contains exceeds

@Michelle thanks for sharing this.

 

I've just encountered the same issue, and the realization that we are limited in complex/lookup columns is not good and that notion seems crazy. There should be no limit, or at least a high threshold, to Person fields added or else we are basically limited within PowerApps to only make apps that involve a small group of people instead of an app that could potentially involve a much larger group of individuals in a more complex org.

 

I hope this is something the team is working to increase.

LukeC
Level: Powered On

Re: Error: The query cannot be completed because the number of lookup columns it contains exceeds

@v-monli-msft when is the next increase above 12 expected?

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 209 members 4,543 guests
Please welcome our newest community members: