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 / Search using ListBox1 ...
Power Apps
Unanswered

Search using ListBox1 Selected Items

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to make a search function that retrieves information based on the selected values of a ListBox. Please help. This is what i have under the BrowseGallery. Items = SortByColumns(Filter([@'Table'], StartsWith(Title, TextSearchBox1.Text)), "Date", If(SortDescending1, Descending, Ascending))

Categories:
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    I would suggest listing that in the Filter function itself. Something like:

    SortByColumns(Filter([@'Table'], StartsWith(Title, TextSearchBox1.Text), IsBlank(Dropdown1.Selected) || Column1 = Dropdown1.Selected), "Date", If(SortDescending1, Descending, Ascending))

    You might have to so Dropdown1.Selected.Column or Selected.Value depending on how you have the dropdown defined. You would also have to replace Column1 with the name column of your choice. The formula will need to.be modified slightly if you are using a combo box (with multiselect) instead of a dropdown.

    Let me know if this helps.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com

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 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard