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

Notifications

Announcements

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

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
    on at

    I am talking about search that is >2000 records

  • v-jefferni Profile Picture
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard