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

Filter Gallery with Multiple Selection with different checkbox

Hi to all, i have a big problem, i need to filter gallery with multiple checkbox that accept multi value and a inputTextbox, all the controls are not required, user can select what he want .

I tryed but it's so hard for me..

 

If someone can help me, thanks in advance

 

filterQuery.PNG

3 REPLIES 3
vincenzos1984_1
Helper II
Helper II

noone have ideas?

Hi @vincenzos1984_1 

If you get rid of the checkboxes and use listboxes instead, it will be easier to set up the logic.  In the screenshot below I used a database of fake names and addresses.multiselect.png
Comboboxes could be used instead of listboxes but both controls support multiple selections.  The key in the formula is to use the filter with the "in" operator for these types of controls.  The radio control is used for the binary choice, in your case, gender.  It is possible to use checkboxes as your screenshot illustrates but the logic becomes much more complex because they are not really designed for this.  A combobox with the multiselect option active should serve the purpose you have allotted for the textbox control + the name checkboxes for the name. 

@vincenzos1984_1 

Another approach to doing this would be to use galleries to collect the data.  Mr. Dang came up with this solution and I referenced it in this post. https://powerusers.microsoft.com/t5/Building-Power-Apps/Gallery-Checkbox-List/td-p/577682 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,292)