Notifications
Announcements
I have a collection named "booking". I want to compare one of item with all the other items in the same collection. Therefore I want to filter out all rows in "booking" beside ID=bid. My code:
Filter(booking,(ID<>bid)
But it prompt me for delegation warning. How can I get rid of it?
Hi @Anonymous ,
Unfortunately you cannot - the <> (not equals) operator is not Delegable.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
I am using SharePoint as data source now. Will upgrade to Dataverse avoid the limit forever?
@Anonymous ,
I am not a Dataverse user, but I believe this is Delegable (refer this document) - I assume you understand the additional licensing cost that will be involved.
After I applied "With" as below, the delegation warning is suddenly gone:
With({_preFilter: Filter(Booking,((StartTime <= myStartTime)},Filter(_preFilter,(ID<>bid)))
I am wondering what the justification of delegation warning is.
In my environment, before applying the _prefilter the number of rows is about 100 only. After applying _prefilter there are 10 rows. Both are far below 2,000 rows limit.
It may be masking it however - With() is a "hidden" Delegation limit (I would have suggested it however if you had another filter in the code you posted). This code relies on the number of records returned from the With() statement is less than your Delegation limit.
With( { _preFilter: Filter( Booking, StartTime <= myStartTime } {, Filter( _preFilter, ID <> bid ) )
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268