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 / Create Search box filt...
Power Apps
Unanswered

Create Search box filtered by drodown

(1) ShareShare
ReportReport
Posted on by 42

i want to create Search Box filter based on dropdown, 

lets say i have option 1 and its show all the category books, and i want to find member who was created the book,

and if i choose the option 2 which is show the Biology books, and i can still find the creator based the category filter book

Categories:
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    See if these steps help@Rapikur_

     

    Let's say you are using a SharePoint List. 

     

    Step 1: Create a Power App or open your existing Power App. Make sure you have the data source (i.e. Books list) connected.

    Step 2: Add a dropdown and a text input field for search.

    • Click Insert in the ribbon, go to Input, and click on Dropdown.
    • Then add a Text input field for search. Click Insert in the ribbon, go to Input, and click on Text input.

    Step 3: Set the Items property of the dropdown.

    • Suppose that you are using a SharePoint list and you want to use a column, say 'Category', you could use the Distinct function to get unique categories. Set the Items property of the dropdown control as Distinct('YourDataSourceName', Category)

    Step 4: Add a Gallery control to display the books.

    • Click Insert in the top menu, go to Gallery, and choose the layout you prefer (e.g., Vertical or Horizontal).

    Step 5: Set the Items property of the gallery.

    • If you want to search by 'Creator' and filter by 'Category' selected in the dropdown, you could use the Filter and Search function together.

    • Try to set the Items property of the gallery as something like this: Search(Filter('YourDataSourceName', Category = Dropdown1.Selected.Result), TextInput1.Text, "Creator")

    You may need to adjust the formula for your use case.

    Replace 'YourDataSourceName', Category, and Creator with the actual names used in your case.

     

    The search function should usually not be case-sensitive in the case of SharePoint List, and it should return all records that contain the string from TextInput1 in the 'Creator' field, and match the selected 'Category' from Dropdown1. Note that while Filter and Search may not be case sensitive, any string comparison used in those formulas on the column like Title = "My Title"  - this may be case sensitive.

     

    See if it helps @Rapikur_ 

  • Rapikur_ Profile Picture
    42 on at

    sorry i forgot to attach the image code

    Rapikur__0-1689484033804.png

    this is my last code, i made a collection for the dropdown,

     

    can u help me to add some function for search box based on my function??

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard