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 / Combining Search with ...
Power Apps
Answered

Combining Search with Sort and Filter Gallery Controls

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I am struggling to combine my gallery search with my existing filter and sort controls in my gallery. Here are the below formulas in the 'Item's control of the Gallery.

Sort(
 Filter('Staff Change Control System', Approved.Value="Yes", If(Toggle2.Value=false, 'Full Access'.Value="No", 'Full Access'.Value="Yes")),
 Created, Ascending
)
Search('Staff Change Control System', SearchBox.Text, "First_x0020_Name")

 I'd appreciate any help.

Thank you!

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @timl @RandyHayes @WarrenBelz @Drrickryp @rubin_boer @Pstork1 - would really appreciate your help. Thanks guys

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Give this a go:

    Sort(
     Search(
     Filter('Staff Change Control System', 
     Approved.Value="Yes", 
     'Full Access'.Value = If(!Toggle2.Value, "No", "Yes")
     ),
     SearchBox.Text, "First_x0020_Name"
     ),
     Created
    )

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That worked perfectly, thanks again @RandyHayes 🙂

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