Announcements
This following formula uses "in" to filter one table by another, but returns a delegation warning:
Filter(TableB,ID_Entidade in Filter(TableA,Tipo1 = VarA|| Tipo1 = VarB).ID1)
How to prevent that warning?
Hi @WebPortal
The "in" operator will always give a delegation warning for certain data sources (SharePoint, Excel). To avoid it you can create a collection of Table A, ie ClearCollect(TblA,TableA) and use that instead of the actual table. This will work as long as you have less than 2000 items in TableB. As long as you are using collections, delegation warnings will not apply. You could also use the With() function as in the modification below. You won't get a warning but the results may not be correct if more than 2000 items are in the table.
With({TblA:TableA}, Filter( TableB, ID_Entidade in Filter( TblA, Tipo1 = VarA|| Tipo1 = VarB ).ID1 ) )
Another option that would work in limited situations is where Table A does not get modified, then it can be added as an Excel Static data source and delegation is not a factor. Up to 15,000 items can be in an Excel static data source. The upload takes seconds and formulas using a static table are executed almost instantly. For more information see my post on how I upload 43000 zip codes for my apps with static Excel data sources. https://powerusers.microsoft.com/t5/News-Announcements/Automatically-Prefill-City-and-State-using-Zip-Codes-in-your-App/ba-p/200465
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 236 Super User 2026 Season 2
WarrenBelz 188 Most Valuable Professional
Mohsin Ali 130