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 / Filters and Checkbox
Power Apps
Answered

Filters and Checkbox

(0) ShareShare
ReportReport
Posted on by 32

I have a new checkbox and I would like to Filter the data as per checkbox - OnCheck or OnUncheck. If the checkbox is ticked I want the app to show only those records where Status = Approve. 

Any ideas??

 

Thanks all.

Categories:
I have the same question (0)
  • Verified answer
    alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on at

    Hello,

     

    You can assign a variable on the oncheck Set(_status, "Approve") and onuncheck like Set(_status, "")

    and in your gallery in the items property you can do

    If(isBlank(_status),yourdatasource,filter(yourdatasource, Status = _status)

     

    Best regards,

    Alaa

  • Semi Profile Picture
    32 on at

    Thank you so much!!

    This worked.

     

    Regards.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 477

#2
WarrenBelz Profile Picture

WarrenBelz 341 Most Valuable Professional

#3
11manish Profile Picture

11manish 317

Last 30 days Overall leaderboard