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 gallery with mu...
Power Apps
Answered

Filter gallery with multivalue checkboxes

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

HI everyone,
I have 2 gallery with the same source (Details)

in the first gallery (gallery6) I have one column called Keywords, I put the checkboxes near the fields
Now I want to filter the second Gallery (Gallery2) with the check boxes
If I check 2 boxs i would like to see 2 rows in the Gallery2
But I see ever the last checkbox selected.

 


Filter(Details;'Parola Chiave_details'= Gallery6.Selected.Checkbox4.Value)

Categories:
  • Verified answer
    CU-18081211-6 Profile Picture
    9,272 Moderator on at

    Hi @Anonymous ,

    Gallery6.Selected.Checkbox4.Value returns the value of CheckBox4 from the current selected item of Gallery6, which is a Boolean type.

    The most appropriate formula for your needs can be: 

    Filter(Details;'Parola Chiave_details' in Filter(Gallery6.AllItems; Checkbox4.Value).'Parola Chiave_details)

    but i'm affraid that your datasource is a SharePoint list and calling the "in" operator will give a delegation warning.

    To avoid this i think that the easiest way is to use a collection and the Check/Uncheck property of the checkboxes:

    OnCheck: Collect(selectedDetails;ThisItem)

    OnUncheck: Remove(selectedDetails;ThisItem)

    and set the Gallery2 Items property to selectedDetails collection.

     

    Hope it helps !

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi gabibalanban,

     

    my source is DCS the your solution works good!

     

    tnx

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard