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 / Multiple values in fil...
Power Apps
Answered

Multiple values in filter clause in powerapps

(0) ShareShare
ReportReport
Posted on by 72

hello,

i wanted to add multiple values in a filter statements but its not working - can you all help?

 

How can i add multiple names in filter clause?

 

Search(Filter('SP List','Name of User' <> "name 1" || "name2"),TextInput1.Text,"NameofUser")

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Try

    Filter( 'SP List' StartsWith( Name1,TextInput1.Text ) || StartsWith( Name2, TextInput1.Text ) )

     

    If you have issues, explain further the columns you want to filter

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    Loose Chippings Profile Picture
    185 on at

    Hi @rupa1

     

    The syntax for Filter is Filter(Source, logical test, logical test,....), so I believe that Search(Filter('SP List','Name of User' <> "name 1", 'Name of User' <> "name2"),TextInput1.Text,"NameofUser") should work in your case.

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @rupa1 ,

    Could you describe more clearly about your filter rule?

    The syntax should be like:
    Filter(data source, rule1,rule2,rule3,...)

     "name 1" || "name2" does not represent name1 value or name2 value.

    I assume that your filter rule is :
    'Name of User' is not equal to "name1" or "name2" and filter based on TextInput1.Text.

    If so, you should try this formula:

    Search(
    Filter('SP List','Name of User' <> "name 1"||
     'Name of User' <> "name2"
     ),TextInput1.Text,"NameofUser")

     

     

    Best regards,

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

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard