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 ch...
Power Apps
Unanswered

Filter gallery with checkbox

(0) ShareShare
ReportReport
Posted on by 122

Edward00_0-1689078716736.png

I want to filter the gallery when checkbox.value=true

Edward00_1-1689078814557.png

I have functions like above and I don't know where to add the formula to filter the gallery with checkbox properly and how to filter galley. I hope people can help me solve this problem.Thanks for reading

Categories:
I have the same question (0)
  • madlad Profile Picture
    2,637 Moderator on at

    I'm assuming your filtering by IsDeleted = true when the checkbox is selected, and not filtering at all when the checkbox isn't selected.

     

    If your isDeleted is a true/false column, you could try replacing your "&& isDeleted=false" at the end of either if statement with something like:

    && If(CheckBox.Value, isDeleted, true)

     

    This could be relatively easily modified to account for other possibilities, such as all records whether they are deleted or not, or only getting not deleted records when it's not selected.

     

    Hope this helps!

  • Edward00 Profile Picture
    122 on at

    Edward00_0-1689080427354.png

    It is delegation warning

  • madlad Profile Picture
    2,637 Moderator on at

    Interesting... the delegation warning shouldn't be an issue unless you have over 500 items in your datasource, although that can be bumped up to 2000. Do you think you'll have that many records?

  • Edward00 Profile Picture
    122 on at

    It's not. There are no more than 500 items in the Data Source. Only 5 items

  • madlad Profile Picture
    2,637 Moderator on at

    In that case you should be fine, as long as the function works as intended with that data

  • Edward00 Profile Picture
    122 on at

    So there's no other way to fix the delegation warning right, Sir

  • madlad Profile Picture
    2,637 Moderator on at

    It's possible there is, but no easy way is coming to me off the top of my head, and since it shouldn't be an issue for functionality, and the user shouldn't ever see it, I don't really see a reason to.

     

    If you'd like more information on why this is happening, when and how to avoid it, you can see these resources, as well as others elsewhere:

     delegation overview 

    delegable functions and operations for sharepoint 

  • Edward00 Profile Picture
    122 on at

    Thank you

     

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
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard