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 / Filter a Gallery with ...
Power Apps
Answered

Filter a Gallery with 2 Dropdowns and 1 Combobox with Blanks

(0) ShareShare
ReportReport
Posted on by 53

Hello thogeter,

 

i have a problem the filter a Gallery with 2 Dropdowns and 1 Combobox with Blanks.

 

Now, i have a running Filter with one Combobox and One Dropdown.

And i add all Collections for the dropdown an "All" for the Selection.
Exampel:

 

ClearCollect(Coll_Herkunft;{Value:"Alle"};Choices(tbl_Ziele.Herkunft))

 

The Collection is from a Sharpoint list, my problem in the Dropdown is. I cant set the default value to "All". 

 

This is my actual code for the Filter (Gallery) withe Blanks (1 Dropdown, 1 Combobox)

I want to Change from Blanks in "All" and add a 3 Filter.

 

 

If(IsBlank(Dropdown_Status.Selected.Value); If(IsBlank(ComboBox_Bereiche.Selected.Result);tbl_Ziele;Filter(tbl_Ziele; Bereich.Value in ComboBox_Bereiche.Selected.Result));Filter(

If(IsBlank(ComboBox_Bereiche.Selected.Result);tbl_Ziele;Filter(tbl_Ziele; Bereich.Value in ComboBox_Bereiche.Selected.Result));Dropdown_Status.Selected.Value = Status.Value))

 

 

So, i have no idea.

Regards Peter

Categories:
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @PeterParcker ,

    If it is the DefaultSelectedItems of the Combo Box you need

    {Value: "Alle"}

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

     

  • PeterParker Profile Picture
    53 on at

    Hi @WarrenBelz thanks.

     

    this is my try to filter.

     

    Filter(tbl_Ziele;Herkunft.Value = Drop_Herkunft.Selected.Value || Drop_Herkunft.Selected.Value=Blank()
    &&
    Status.Value = Dropdown_Status.Selected.Value || Dropdown_Status.Selected.Value = Blank()
    &&
    Bereich.Value in ComboBox_Bereiche.Selected.Result || ComboBox_Bereiche.Selected.Result =Blank()
    
    )


    the filter only works if all three filter conditions are met. How can I change it so that the filter only works under one condition?

     

    Regrads Peter

  • Verified answer
    WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @PeterParcker ,

    Just a bit of bracketing

    Filter(
     tbl_Ziele;
     (
     Herkunft.Value = Drop_Herkunft.Selected.Value || 
     Drop_Herkunft.Selected.Value=Blank()
     ) &&
     (
     Status.Value = Dropdown_Status.Selected.Value || 
     Dropdown_Status.Selected.Value = Blank()
     ) &&
     (
     Bereich.Value in ComboBox_Bereiche.Selected.Result || 
     ComboBox_Bereiche.Selected.Result =Blank()
     )
    )

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard