Announcements
I’m building a Canvas app using SharePoint lists and I’m running into a large number of delegation warnings, particularly with formulas like CountRows(Filter(...)) for per-contact counts, and First(SortByColumns(Filter(...))) to get the latest related record (e.g. latest interaction or follow-up). I also previously used AddColumns(...) in gallery Items to bring in these values, which caused further delegation issues.
CountRows(Filter(...))
First(SortByColumns(Filter(...)))
AddColumns(...)
I understand why these are non-delegable, but I’m trying to determine the best overall design approach for a scalable solution as my lists grow beyond 2,000+ records. Is it generally recommended to store summary values (e.g. latest interaction, counts) directly on the main record (e.g. Contact), or are there better patterns within Power Apps/SharePoint to handle these scenarios without relying heavily on Power Automate?
I’d really appreciate advice on best practice for handling these common patterns (counts, latest related records, cross-list summaries) in a way that avoids delegation issues and performs well long-term.
With( { _Data: Filter( DataSouce, YourDelegableFilterHere ) }, CountRows(_Data) )
length(body('Get_items')?['value'])
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 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 502
Vish WR 454
WarrenBelz 416 Most Valuable Professional