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 Multiple Search
Power Apps
Unanswered

Filter Multiple Search

(0) ShareShare
ReportReport
Posted on by 901

I been searching the whole Forums trying to figure out how to use Filter for multiple search. Using a SharePoint List.

 

l'm using the following Formulas to search for Patient Name

Filter(COVID19Test, StartsWith('Patient''s Last Name, First Name',TextInput1_1.Text))

 

Center is a Lookup call "Center Name

Date of Birth is a "Date and Time" 

 

Search.PNG

 

Hope i explain myself clearly 🙂 and always thank you in advance.👍

 

Let me know if you need more information.

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @oappdev 

    This is how I would typically accomplish a multiple field search.

     

    Filter(COVID19Test, 
     (IsBlank(TextInput_Center.Text) Or StartsWith(Center,TextInput_Center.Text))
     And (IsBlank(TextInput_PatientsName.Text) Or StartsWith(PatientsName,TextInput_PatientsName.Text))
     And (IsBlank(TextInput_DateOfBirth.Text) Or StartsWith(DateOfBirth,TextInput_DateOfBirth.Text))
    )

     

    Note: I'm not sure about how that search for the DateOfBirth is going to work as a Text field though.  Seems like alot of opportunity to mix up the date formatting 🙂

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @oappdev 

    As @mdevaney says, the problem will be the date field.  There are too many ways that a User can enter the date in the wrong format.  I suggest that you replace the date textbox with a Datepicker control.  Then you can use 'Date of birth" = DatePicker1.SelectedDate in the formula he suggests. If I were designing your app, I would use either dropdowns or comboboxes for the other fields as well depending on the number of items in your list. 

  • oappdev Profile Picture
    901 on at

    Thank you so much! @mdevaney  Agree with on DateOfBirth. Will give a try and circle back.

  • oappdev Profile Picture
    901 on at

    Thank you @Drrickryp  It was a quick request from the company. 

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @oappdev 

    It has been my unfortunate experience that users will invariably misspell text entries.  The less options you give them, the better. 

     

    They were wrong.jpg

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard