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 / How to avoid delegatio...
Power Apps
Answered

How to avoid delegation why filtering or search through a choice field

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

How to avoid delegation why filtering or search through a choice field at the same time searching with a single text column of sharepoint. See below script doesnt work 😥

 

Sort(
Filter(
DATASOURCE,

   StartsWith (EID,txtSearch.Text),
   (ComboBox2.Selected.Value = Sell.Value || ComboBox2.Selected.Value = Blank())

 

), ID, Descending)

Categories:
I have the same question (0)
  • theapurva Profile Picture
    970 Super User 2024 Season 1 on at

    hello @Anonymous ,
    Choice column should not give delegation warning. it could be lookup column to give delegation warning.
    Could you paste the screenshot of warning and formula?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am talking about search that is >2000 records

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    The point is, as @theapurva said, SharePoint list Choice column is delegable, except you have incompatible data types in filter criteria, selections in Choices column are of type text:

    vjefferni_1-1665994073972.png

     

    So, please make sure it's a delegation warning but not the incompatible warning. In addition, please check the column type of Sell and share the Items property of your ComboBox2.

     

    Best regards,

  • Verified answer
    theapurva Profile Picture
    970 Super User 2024 Season 1 on at

    thanks a lot @v-jefferni . I will also keep this in mind that people may get confused between delegation and Icompatible warning. 🙂


    @Anonymous : please paste your warning like @v-jefferni had pasted.

    Try below if its Incompatible type warning.

    Sort(
    Filter(
    DATASOURCE,
     StartsWith (EID,txtSearch.Text),
     (Value(ComboBox2.Selected.Value) = Value(Sell.Value) || ComboBox2.Selected.Value = Blank())
    ), ID, Descending)

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Oh my initial script works however show blank on the gallery when both of the filter & searchbox are blank

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard