Although there is an earlier thread on this topic that is marked as resolved, this issue is not resolved for many of us, as creating an entry in the list so that there is at least one did not make the error go away. I have a screen with 3 galleries, each connected to a different SharePoint list from the same site. Depending on who is accessing the app (comparing Lower(User().Email) to a collection of emails), I am filtering the list to display only the most recent 50 entries in the gallery, or only the most recent 50 created by that user. I'm using the same filter on each gallery (though obviously for the corresponding list). When accessing as someone who is allowed (just within the app, no special permissions in SharePoint) to see all of the most recent 50 entries, the error does not come up. But if I access as one of the people whose email is in the collection, I get an error when I click on an item in either of 2 galleries but not in the 3rd gallery. I also get an error when just going to a new form (no item selected) for those two lists from buttons. All the related lists have entries. Of the two that throw the error, one has an item created by that user and the other doesn't (so one gallery has one item and the other doesn't).
Solved! Go to Solution.
Hi @dhock ,
Could you please share more details about the Filter you used within your Gallery control?
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. Have you taken a try to save your SP List records into a Collection, and use the Collection as data source within your app?
On your side, please consider save your SP List records into a Collection, then use the Collection as data source in your app instead of the Original SP List data source.
Set the OnStart property of the App control to following:
then set the Items property of the Gallery to following:
If the issue still exists, please consider remove the SP list connection from your app, then re-create a new one from your app, then try above solution, check if the issue is solved.
Please also consider submit an assisted support ticket for further help through the following link:
This is a workaround. What we need is a definitive solution: I need, for example, that my list (on SP side) stay with no records in a certain time.
I get the error. It is random, but does not seem to cause any issue. I get it on a large data source of 40,000 plus where I do the collection but sort Decending because of Delgation issues. I also increase the delegations in the settings to 2000. maybe the issue relates to Descending and Increase
OK, I get the error all the time now, but not when I open in Edit. I successfuly got rid the delegation issues and the sort but it still returns the error. It does seem to be related a recent update if there was one (maybe on the Server side). I am using a SharePoint List
As I now have no delegation issues, I removed the limit an dput it back to 500. Error gone, so I assume it is occuring in whatever process is used to extract teh extra 1500 from the server
If it helps get to the cause of the bug, I can consistently replicate the error with all SharePoint lists. Here are a few steps using a new SharePoint list that shows the error:
SortByColumns(Filter(PowerAppsTest, StartsWith(Title, TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending))
You don't get the error when it is set like this. However, simply change this to:
SortByColumns(Filter(PowerAppsTest, TextSearchBox1.Text in Title), "Title", If(SortDescending1, Descending, Ascending))
The error appears:
I think the issue is based on increase the delegation limit in App setting and non delagble query triggers it.
Your second filter is non delegable. It was OK a week ago, but I think the word infinity tell me the limit is not being applied
Watch Microsoft Business Applications Summit sessions on-demand.
And the winner is...
The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!
Features releasing from April 2020 through September 2020