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 Gallery Items b...
Power Apps
Answered

Search Gallery Items by using Dropdowns and Search field

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a gallery that I can currently filter by the two dropdowns (program provider and term approved). The client has asked to be able to search the entire gallery (by ID, program provider, term approved, etc.) and I want to use the Filter by Search textbox for that. Here is my current Items formula for the gallery. How do I add to the formula using the search text field?

 

Filter('XXXXXXXXXXXXXXXX',If(Filter_ProgramProvider.Selected.Value="All",true,'Program Provider'.Value =Filter_ProgramProvider.Selected.Value), If(Filter_TermApproved.Selected.Value="All",true, 'Term Approved'.Value = Filter_TermApproved.Selected.Value))

 

CTD1.jpg

Categories:
  • h-nagao Profile Picture
    392 on at

    Hi, 

    To more reduce records by search string , you can use Search() function.

    Search(
    Filter('XXXXXXXXXXXXXXXX',If(Filter_ProgramProvider.Selected.Value="All",true,'Program Provider'.Value =Filter_ProgramProvider.Selected.Value), If(Filter_TermApproved.Selected.Value="All",true, 'Term Approved'.Value = Filter_TermApproved.Selected.Value))
    , TextInput.Text, "Search target field1","Search target field2",...)

    Filtered results will be reduced by search string again.

     

    Thanks.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @h-nagao For the search target fields, can I search for fields that are not in the gallery? I have about 12 fields, but I am only displaying 1/4th of them.

  • Verified answer
    h-nagao Profile Picture
    392 on at
    Hi Lp939,
    It's possible to search by non-visible fields, since labels in gallery are just displaying data, Search or Filter are reducing data to display gallery.

    Thanks,

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard