Hi@jackwu,
How is your data set, is it over 500 records or more than that?
Actually, if you want to collect every submitted ID to a collection and then filter the Gallery based on this collection, it will appear this delegation warning. The IDlistCollection is a Table, ID is a single value, this kind of filter result will do result in a delegation warning.
Here are some suggestions you can follow:
- Move to Advanced settings within App Settings, change the 500 by default to 2000 in "Data row limit for non-delegable queries".
- Since you want to filter the Gallery based on the LastSubmit.ID, you don't need to store it into a collection, you can directly quote the LastSubmit.ID within the Filter() function.
In response to the second solution I just mentioned, I have a test and it works on my side, you can take a try as below:
Set the Items property of the Gallery as below:
Filter('Homologation Test',ID=EditForm1.LastSubmit.ID)
Note: You can replace the corresponding control name with yours.
Just in case LastSubmit.ID isn't particularly stable sometimes, you can quote the 'Modified' which is a default column within the SharePoint list.
First(Sort(APAC1,Modified,Descending).ID)


Best Regards,
Qi