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 / Dual search in gallery...
Power Apps
Answered

Dual search in gallery - Dropdown and SearchBox

(0) ShareShare
ReportReport
Posted on by 45

Hello,

 

How I can to combine search in gallery (dropdown list and/or searchbox)?
When i use this search separatly all works fine. How I can add both search to one gallery?

List is from Excel file from OneDrive.

 

Works fine from SEARCHBOX:

SortByColumns(Search([@INW]; TextSearchBox1.Text; “NUMER”;”OPIS”;”Użytkownik”;”SERIAL”;”LOKALIZACJA”;”NAKLEJKA”); “NUMER”; If(SortDescending1; SortOrder.Descending; SortOrder.Ascending))

 

Works fine from dropdown list:

Filter([@INW];NAKLEJKA= Dropdown1.Selected.Value)

 

Together don’t work. What I doing wrong?

SortByColumns(Search([@INW]; TextSearchBox1.Text; “NUMER”;”OPIS”;”Użytkownik”;”SERIAL”;”LOKALIZACJA”;”NAKLEJKA”); “NUMER”; If(SortDescending1; SortOrder.Descending; SortOrder.Ascending)) || Filter([@INW];NAKLEJKA= Dropdown1.Selected.Value)
Categories:
  • Verified answer
    theapurva Profile Picture
    970 Super User 2024 Season 1 on at

    Hello,

    Please use as below:

    SortByColumns(Search(Filter([@INW];NAKLEJKA= Dropdown1.Selected.Value),TextSearchBox1.Text; “NUMER”;”OPIS”;”Użytkownik”;”SERIAL”;”LOKALIZACJA”;”NAKLEJKA”); “NUMER”; If(SortDescending1; SortOrder.Descending; SortOrder.Ascending))

     

  • AbdulWahab Profile Picture
    517 on at

    Hi @Camillo1 ,

     

    The link might be going to solve your problem: Solved: Multiple Filter Gallery - Canvas App - Power Platform Community (microsoft.com)

     

    If you need additional help please tag me in your reply and please like my reply.

     

    If my reply provided you with a solution, please mark it as a solution

     

    Thanks
    Regards,

     

    Abdul Wahab
    Power Platform & Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: https://www.linkedin.com/in/abdul-wahab-a5b8b011a/
    Youtube Channel: https://www.youtube.com/channel/UCBjgLqLK_2kU-3bwo4McrTw

     

  • Camillo1 Profile Picture
    45 on at

    @theapurva Thank You. Works fine. But I had to change the comma to a semicolon before "TextSearchBox1" so it wouldn't show an error.

  • Camillo1 Profile Picture
    45 on at

    @theapurva 

    I moved the data from the table to the Sharepoint list. My Sharepoint list has a name INW. I delete from PowerApp data old connector to Excel and add new to Sharepoint list. But search in gallery not working.

    How I can repair this code?

     

    SortByColumns(Search([@INW]; TextSearchBox1.Text; “NUMER”;”OPIS”;”Użytkownik”;”SERIAL”;”LOKALIZACJA”;”NAKLEJKA”); “NUMER”; If(SortDescending1; SortOrder.Descending; SortOrder.Ascending))

     

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

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard