I have a SharePoint list that has over 500 items and I need to filter out the data based on conditions.
The formula below will filter out most of the items but any items recently entered will not show up. This happens because of the delegation rules I'm guessing.
How can I overcome this and retrieive all of the data?
SortByColumns(Filter('DOT List', StartsWith(Truck_x0020_Number, TextSearchBox1.Text), Author.Email=User().Email && Complete.Value="Yes"), "Date_x0020_and_x0020_Time", If(SortDescending1, Descending, Descending))
I belive you can change the number of records returned to up to 2000 for non delegatable sources. This setting is under your App Settings screen, Advanced Settings.
If you have more records that this, you could pull them in to a local collection first on the start of the App - depending on the size of the list and the performance, etc.
Hi @tbrantley,
Do you have get a blue-dot suggestions with the formula that you provided?
If you have gotten a blue-dot suggestions with the formula that you provided, I think your thought is correct, you have faced Non-delegable issue.
If the formula could not be delegated within PowerApps, it would be processed locally. By default, you could only process 500 records at most locally. If you want to process much more records, you could consider change "Data row limit for non-delegable queries" within the Advanced settings of App Settings:
Then change the Value to 2000 (maximum value).
More details about the Non-Delegable limits in PowerApps, please check the following article:
Change Non-Delegable limit in PowerApps
Best regards,
Kris
User | Count |
---|---|
175 | |
111 | |
86 | |
44 | |
42 |
User | Count |
---|---|
229 | |
118 | |
116 | |
74 | |
67 |