Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Two Galleries multiple filter

(1) ShareShare
ReportReport
Posted on by 762
Hi Community 
 
I have an app ive built and a feature I want to develop is filter one gallery on the selection of another (sounds simple enough)

So the app looks like this:



I am able to code the items for one type of selection using:
If(type="All",
    'Testing governance tool',
    If(FilterGallery.Selected.TextBox1.Text="Report Testing" ,
        Filter('Testing governance tool',Whattypeoftestingareyouconductin.Value="Report"))


However there are nine different if eventualities including 'All Items' which needs some direction as its to show everything that is in the datasource table.
 
Can anyone help I hope ive provided enough info on my dilema?
        )
Categories:
  • Verified answer
    Michael E. Gernaey Profile Picture
    40,844 Super User 2025 Season 1 on at
    Two Galleries multiple filter
    Hi
     
    If I understand correctly, all the options on the Left Gallery do something to the right, its standard do this in the right side Items
     
    Switch(FilterGallery.Selected.TextBox1.Text,
          "All Items",
                'Testing governance tool',
          "Code Testing",
                  Filter('Testing governance tool',Whattypeoftestingareyouconductin.Value="XXX")),
         "Next one",
                 Filter('Testing governance tool',Whattypeoftestingareyouconductin.Value="YYYY")),
        "And So On",
                Filter('Testing governance tool',Whattypeoftestingareyouconductin.Value="Report"))
    );

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,957 Most Valuable Professional

Leaderboard