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 / Filter both conditions
Power Apps
Unanswered

Filter both conditions

(0) ShareShare
ReportReport
Posted on by 353

Hi All,

 

I have a gallery that is filtered according to a text entry box. The formula is:

 

Sort(Filter(CollectionName;StartsWith('TXNUMBER';TextSearchBox1_1.Text));'FIELD')

 

I am filtering by TXNUMBER, is it possible to set a second condition to filter the gallery; that is, that it can be filtered by both TXNUMBER and COND2?.

 

Thanks¡.

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @Francisco77,

     

    Yes, this is possible. Just insert a comma after your first logical test. I have added an example below.

     

     

    Sort(
     Filter(
     colTest, 
     StartsWith('Test Input Text', TextInput1.Text), //Logical Test 1
     Dropdown1_1.Selected.Value = ThisRecord.'Test Input Choice' || IsBlank(Dropdown1_1.Selected.Value) //Logical Test 2
     ),
     'Created On'
    )

     

     

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • Francisco77 Profile Picture
    353 on at

    Hi @AARON_C 

     

    Thanks, but with that formula I would filter by adding data to a text entry or a drop-down list. What I need is for the same text entry to be able to enter two different conditions to filter.

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @Francisco77,

     

    Just to clarify, you want to be able to filter the gallery using 1 text input on multiple text columns?

     

    What is your second condition you want to use to filter the gallery?

  • Francisco77 Profile Picture
    353 on at

    I have this gallery, and with a text entry I want to filter by any of the two values marked in red.

     

    Francisco77_0-1697769111345.png

     

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @Francisco77 

     

    Is the second condition also a text column? If not what is the column type

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

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard