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 include Text bo...
Power Apps
Answered

how to include Text box filter

(0) ShareShare
ReportReport
Posted on by 184

how can i insert textbox filter in below code.. it showing as delgation warning ,if i add search function in below .

 

SortByColumns(Filter('Notice Tracker','Assigned Designer'.Email=User().Email,IsBlank(varStatus) || Status.Value = varStatus|| varStatus = "All"
),"ID",If(SortDescending1,Descending,Ascending))

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    HI @Ungarala1 ,

    Note that the top filer needs to return under your Delegation limit - Search is not Delegable (nor is the Person Field you are filtering on).

    With(
     {
     wList:
     SortByColumns(
     Filter(
     'Notice Tracker',
     (IsBlank(varStatus) || varStatus = "All") ||
     Status.Value = varStatus
     ),
     "ID",
     If(
     SortDescending1,
     Descending,
     Ascending
     )
     )
     },
     Search(
     Filter( 
     wList,
     'Assigned Designer'.Email=User().Email
     ),
     YourSearchBox.Text,
     "YourSearchFieldName"
     )
    )

     

    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.

  • Ungarala1 Profile Picture
    184 on at

    it is not working, i changed my text input name and column name .. showing error

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    @Ungarala1 ,

    That does not really help - what is the error?

  • Ungarala1 Profile Picture
    184 on at

    i added error below in code

     

     

    With(
    {
    wList:
    SortByColumns(
    Filter(
    'Notice Tracker',
    (IsBlank(varStatus) || varStatus = "All") ||
    Status.Value = varStatus
    ),
    "ID",
    If(
    SortDescending1,
    Descending,
    Ascending
    )
    )
    },

    //error from below code as : invalid number of arguments: received 2 ,expected 3 or more

    Search(
    Filter(
    wList,
    'Assigned Designer'=Email=User().Email
    ),
    TextInput1.Text
    "Program"
    )
    )

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    @Ungarala1 ,

    The error is fairly clear - you have two equals signs . . . your code (which I copied) is 

    'Assigned Designer'.Email=User().Email

     

    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.

  • Ungarala1 Profile Picture
    184 on at

    still not working same error message

    With(
    {
    wList:
    SortByColumns(
    Filter(
    ' Notice Tracker',
    (IsBlank(varStatus) || varStatus = "All") ||
    Status.Value = varStatus
    ),
    "ID",
    If(
    SortDescending1,
    Descending,
    Ascending
    )
    )
    },


    Search(
    Filter(
    wList,
    'Assigned Designer'.Email=User().Email
    ),
    TextInput1.Text
    "Program"
    )
    )

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    @Ungarala1 ,

    Again, that does not help me - what is the error?

  • Ungarala1 Profile Picture
    184 on at

    Same error

    //error from below code as : invalid number of arguments: received 2 ,expected 3 or more

  • BCLS776 Profile Picture
    8,994 Moderator on at

    @WarrenBelz , the user has a similar question going in another thread, which is complicating the matter: https://powerusers.microsoft.com/t5/Building-Power-Apps/Search-filter/m-p/1290174#M337699

     

    I'll leave it in your hands since you are already dealing with delegation through the With() statement - you're ahead of my solution.

     

    @Ungarala1 it's best to stick to a single post for a question, please.

  • Ungarala1 Profile Picture
    184 on at

    I stuck at this code from 2 days

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard