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 / Filtering with checkbox
Power Apps
Answered

Filtering with checkbox

(0) ShareShare
ReportReport
Posted on by 108

Hi everyone,

 

I am trying to do the following.

 

1. Filter a gallery by Dropdown1 (column: "Manager") selected.

2. Include all items, but when  a checkbox is selected exclude all items with value "closed" for column "status". The other "status" are for example "starting up" and "on hold".

 

Hope you can help.

So you can see all the projects for that person that are not finished.

 

Kind regards,

 

Roger Middleton

Categories:
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Rogermiddleton 

    Here's my suggested code to solve your issue.

     

    Filter(
     your_sharepoint_list,
     Manager = Dropdown_Manager.Selected.Value
     Checkbox_Closed.Value = true And Status = "closed"
     Or Checkbox_Closed.Value = false And (Status = "starting up" Or Status = "on hold")
    )

     

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Rogermiddleton Profile Picture
    108 on at

    Hi @mdevaney ,

     

    Thank you very much for your help.

     

    This code almost does the trick. But if checkbox is unchecked I see all projects (included "closed"), when checked I see only "closed".

     

    I am trying to get it the other way around. - Unchecked see all except closed / Checked see all including closed.

  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Rogermiddleton 

    See my revised code above.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Rogermiddleton Profile Picture
    108 on at

    @mdevaney 

     

    Again, thanks a lot for your help. Learning a lot from your solutions!

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 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard