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 Apps - Error Handling
Answered

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)
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
    151,767 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 671 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 424 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard

Featured topics