web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter dropdown with s...
Power Apps
Answered

Filter dropdown with search box

(0) ShareShare
ReportReport
Posted on by 817

Hi all, i've been searching for a formula to filter a dropdown field using a search bar (text input) filed.

The used case is: I have two SPO lists one is called Suppliers and another Materials.

Every material has a supplier attached to it (like Apple - Iphone, Windows - Surface, etc.)

 

In my PA this are two separate dropdown pointing to it's respective list.

 

Radoslavov_0-1651656838474.png

dpdSupplier - Suppliers.Title

dpdProduct - Suppliers.Title

searchSupplier

searchMaterial

 

Connection in SPO is that Products has a lookup to Supplier

Supplier is a standalone list

Radoslavov_1-1651657008077.png

I'm trying to filter only the dropdown  options based on the search box text by Product/Supplier title

 

Thank you for the help, and regards.

Kiril

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Radoslavov,

    Do you want to filter the Supplier dropdown based on Supplier Title and  Material dropdown based on the Material Title?

    Could you please share a bit more about your need? You don't tell me which column in the Material you want to search for

     

    If you want to filter the respective dropdown based on Title column from each list, please take a try as below.

    1). Filter Supplier dropdown based on Supplier Title, set the dropdown Items property as below:

    Filter(Suppliers, Title=SuppliersTitle_TextInput.Text).Supplier

    2). Filter the Material dropdown based on Material Title, set the dropdown Items property as below:

    ForAll(Filter(Material,Title=MaterialTitle_TexInput.Text).Supplier,Supplier.Value)

     

  • Radoslavov Profile Picture
    817 on at

    Hi @v-qiaqi-msft this was actually great and worked.

    I was trying to filter the drop down based on a search bar because i have 2000 suppliers, and each one have 1000 products, so i had two search boxes, one for supplier and another for products. So the user can type the name of the supplier and the dropdown will filter them, and at the same time the product dropdown will filter only products by this supplier, but allowing the user to user the second search box to search a product by name.

     

    Thanks again for the help 🙂

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard