web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to create a select...
Power Apps
Unanswered

How to create a selection filter with the 'All' option to filter all items?

(0) ShareShare
ReportReport
Posted on by 8

"Hello, everyone! I would like to create a selection filter that includes the 'All' option to filter all items at once. I am using the following codes:

dropdownItems: Distinct('Presentation Repository'; Forum.Value)
galleryItems: Filter('Presentation Repository'; Forum.Value = DropdownCanvas2.Selected.Value)
Categories:
I have the same question (0)
  • Suggested answer
    jpespena Profile Picture
    335 on at
    How to create a selection filter with the 'All' option to filter all items?
    Hi
     
    Try this:
     
    dropdownItems:
    Ungroup(
        Table(
            {Dropdown: ["All"]},
            {
                Dropdown: Distinct('Presentation Repository'; Forum.Value)
            }
        ),
        Dropdown
    )
     
    galleryItems:
    Filter(
                'Presentation Repository',
                Or(
                    DropdownCanvas2.Selected.Value = "All",
                    Forum.Value = DropdownCanvas2.Selected.Value
                )
    )
     
  • Verified answer
    WarrenBelz Profile Picture
    152,847 Most Valuable Professional on at
    How to create a selection filter with the 'All' option to filter all items?
    A simpler approach in the drop-down Items
    Table(
       {Value: "All"};
       Distinct(
          'Presentation Repository'; 
          Forum.Value
       )
    )
    then (same as jpespena)
    Filter(
       'Presentation Repository'; 
       DropdownCanvas2.Selected.Value = "All" ||
       Forum.Value = DropdownCanvas2.Selected.Value
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard