cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
enlitzinger
Helper II
Helper II

filter gallery with 2 comboboxes AND-OR text box

Hi, I'm attempting to filter a gallery based on selections in comboboxes or a text box.  I'll settle with filtering the gallery with only 1 selection in any of my filter options.  It would be great to do an AND / OR filter across all the options.  

 

Issue: The below formula is on my gallery.  I have 2 combobox dropdowns - each filtering on a specific value column (Review Elements and Subject Matter or Content Topics).  Additionally, I have a text box (Required Language) that will filter based on keywords.  The below formula is showing no errors, but only ComboBox2 (review elements) is working.  Where am I going wrong?

 

Filter([@'Standards, Disclaimers & Disclosures'],'Review Element(s)' in ComboBox2.SelectedItems.Result, Or('Subject Matter or Content Topic(s)' in ComboBox2_1.SelectedItems.Result, Or(TextInput1.Text in 'Required Language')))

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @enlitzinger ,

Assuming ComboBox2 is working, try this

Filter(
   [@'Standards, Disclaimers & Disclosures'],
   'Review Element(s)' in ComboBox2.SelectedItems.Result || 
   'Subject Matter in ComboBox2_1.SelectedItems.Result ||
   Content Topic(s)' in ComboBox2_1.SelectedItems.Result ||   
   TextInput1.Text in 'Required Language'
)

 

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.

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @enlitzinger ,

Assuming ComboBox2 is working, try this

Filter(
   [@'Standards, Disclaimers & Disclosures'],
   'Review Element(s)' in ComboBox2.SelectedItems.Result || 
   'Subject Matter in ComboBox2_1.SelectedItems.Result ||
   Content Topic(s)' in ComboBox2_1.SelectedItems.Result ||   
   TextInput1.Text in 'Required Language'
)

 

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.

View solution in original post

Krishna92
Microsoft
Microsoft

@enlitzinger 

 

Could you please try using the formula and check if that helps with resolution of the issue.

 

Filter([@'Standards, Disclaimers & Disclosures'], 'Review Element(s)' in ComboBox2.SelectedItems.Result Or('Subject Matter or Content Topic(s)' in ComboBox2_1.SelectedItems.Result Or(TextInput1.Text in 'Required Language')))

 

If this information helps you with resolution, please consider giving a thumbs up and mark the solution as resolved.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,516)