web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Why am I getting a Del...
Power Apps
Unanswered

Why am I getting a Delegation warning here?

(1) ShareShare
ReportReport
Posted on by 377

Hi

I have a Gallery which is connected to a SharePoint Online List.

I have a textbox and a button "Search"

 

When I click search I do this in the OnSelect

UpdateContext({gFilter:tbSearch.Text});

 

But my Gallery gives a Delegation warning ...

 

If(
IsBlank(gFilter),
MyList,
Filter(
MyList,
gFilter in Title
)

)

 

Anyone know why?

 

Thanks

P

Categories:
I have the same question (0)
  • Fredrik_A Profile Picture
    3,644 Super User 2026 Season 1 on at

    Maybe this is the reason?

     

    StretchFredrik_0-1670234406001.png

     

  • BideyYusuf Profile Picture
    387 on at

    Hello @pmwhelan well, first thing is.... Title:

    Is Title a table or (arrays of data).... IN functions doesnt work with a single text. it would always throw delegation warning.

     

    Secondly, do you need to pass the value into a variable, I'd advise you dont need to do that if the TextInputLabel is a text.

     

    Hopefully this gives you a clue.

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hi @pmwhelan 

     

    'in' is not in the list of delegable commands for SharePoint:

    SharePoint Delegation Commands

     

    I would advise modifying this to use StartsWith:

     

    If(
     IsBlank(gFilter),
     MyList,
     Filter(
     MyList,
     StartsWith(Title, gFilter)
     )
    )

     


     

    Cheers,

    Sancho

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 333 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 86 Super User 2026 Season 1

Last 30 days Overall leaderboard