Showing results for 
Search instead for 
Did you mean: 
Level 8

Workaround for RemoveIf not being delegable?

I created a PowerApps booking system, which happily ran without issue until the number of bookings in my SharePoint List rose over 500 - that's when RemoveIf stopped working.


For now I'm sorted, I just archived some expired entries to get the number below 500. But that also means I can't test a workaround.


My question is, will it work if I have a filter inside my RemoveIf?


So where I have:


RemoveIf(Bookings, EventUID = Text(ThisItem.ID))


If I instead used:


RemoveIf(Filter(Bookings, BookeeEmail = _ThisUserEmail), EventUID = Text(ThisItem.ID)

Essentially just pre-filtering the datasource to the user's own bookings... that should work, right?

Microsoft RusselThomas

Re: Workaround for RemoveIf not being delegable?

Hi davidstone,


You can doublecheck the usage here, but what you've shown should work, assuming the Text() function isn't giving you delegation warnings, you close off your parentheses and the resulting filter doesn't exceed 500 rows...:)



RemoveIf(Filter(Bookings, BookeeEmail = _ThisUserEmail), EventUID = Text(ThisItem.ID))


I'm assuming that you could have more than one booking per EventUID, per user - which is why you're using the RemoveIf() function instead of Remove(), correct?


Kind regards,



Level 8

Re: Workaround for RemoveIf not being delegable?

You know, I think this is the first time I've realised that's the difference between the two approaches!

In this case my users can only book once per event, so I should probably change it to a 'first' on a filter. The filter will definitely always pull back fewer than 500 records.



Microsoft RusselThomas

Re: Workaround for RemoveIf not being delegable?

Actually, with a 1:1 relationship I'd suggest using a Remove() with a LookUp() - that way you're only ever targeting the exact record you need, instead of returning a table and then targeting with First() or Filter().


Remove(Bookings, LookUp(Bookings, EventUID = Text(ThisItem.ID)))


Hope this helps 🙂


Kind regards,


Helpful resources

New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,306)