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 / how to filter gallery ...
Power Apps
Answered

how to filter gallery data multiple controls using a button control in powerapps

(0) ShareShare
ReportReport
Posted on by 43

Hi Reader,

I would like to filter a gallery data with multiple controls like input text and 5combobox controls on my screen, only when i click on a button.

Note: when I navigate to that screen, gallery data should be empty.

SharePoint list is my Data source.

Please find the screenshots :

satishkumark_0-1630682750596.png

 

Is there a way to do so?

Please help me out how to achieve this scenario.

 

Shanks in advance

Satish 

 

Categories:
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    There is. It IFS but, you will have to consider ALL CONDITIONS.

     

    And thens is jsut

    If( condition..;

         FILTER;

          If( condition..;

          FILTER;

                ........

     

     

     

    Nogueira1306_0-1630683055037.png

     

     

    I have four itens to filter there...

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    On your find button OnClick set a variable for eg.

    Set(VarEnable,true);

    On your reset button OnClick set a variable for eg.

    Set(VarEnable,false);

     

    on your gallery item code write your logic like this:

    If(varEnable=true,

    Filter by comboboxes and text input,

    No Filters

    )

     

    App.OnStart or Scree.OnVisible

    Set(VarEnable,false);

     

    This way when you start the app there will be no filters. Even when you select anything in comboboxes no filters will apply. as soon as you click find button. variable will be true and gallery will filter according to your filter code. When you click reset all filters will be gone.

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

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

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard