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 / Filtering a single gal...
Power Apps
Answered

Filtering a single gallery using buttons and a quick search

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey everyone,

Im in need of some help, if its possible. Here's the situation:

   I have a gallery that shows approximately 300 items found in an "Element ID" column in a sharepoint list "summary", with three radio buttons "EntryBTN" that show ("All" "New" or "Existing") Element ID's and a text input "textinput2_2" that would be used for a quick search bar. I cant seem to get the quick search to filter the gallery. All in all I would like for the buttons and quick search to work together or independently of each other. After the right item is found in the gallery and selected it should navigate to the next screen carrying over the selected title in a view only text box.

The current Items field:

Filter(Summary,StartsWith(Mid('Element ID',3,6),TextInput2_2.Text)) && ((If(EntryBTN.Selected.Value="All",Sort(Summary,'Element ID',Descending),If(EntryBTN.Selected.Value="New",Sort(Filter(Summary,Status1="No"),Title,Descending),Filter(Summary,Status1="Yes")))))

 

 

                                                                       entry screen.PNG

Any help is much appreciated!

Categories:
I have the same question (0)
  • Verified answer
    Edwin-Abdalian Profile Picture
    641 on at

    I took another approach to create my expression. to me it's simpler and it works as expected

    rdoStatus is my radio button

    Switch(
    rdoStatus.Selected.Value,
    "All", Sort(Filter(Summary, StartsWith(Mid('Element ID',3,6),txtSummarySearch.Text)), 'Element ID', Descending),
    "New", Sort(Filter(Summary, StartsWith(Mid('Element ID',3,6),txtSummarySearch.Text), Status = "No"), Title, Descending),
    "Existing", Filter(Summary, StartsWith(Mid('Element ID',3,6),txtSummarySearch.Text), Status = "Yes")
    )

    --------------------------------------------------------------------

    Please Accept as Solution if this post answered your question so other members can find it. If you found this post helpful consider giving my post a Thumbs Up!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard