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 / Hide results in a Powe...
Power Apps
Answered

Hide results in a PowerApp gallery if the result in a column is blank

(0) ShareShare
ReportReport
Posted on by 7

Hello

 

I am tryimg to use either a filter or IfBlank command to hide results from a column in my data source (sharepoint list).

 

I have an app setup for visitors to sign and out of the building. They sign in and the list in sharepoint shows their details. When they go to sign out, I need the list in the app gallery to only show a list of people that have yet to sign out, and not show all visitors that have signed in on that day.

 

Attached are a few screen shots that should hopefully help. I need to show the people from the checkin date, unless they have date in the chackout date, on the powerapp gallery.

 

Thanks

 

 

 

2018-09-27 17_06_20-Visitor Registration - Main (Landscape) - Saved (Unpublished) - PowerApps.png2018-09-27 17_06_58-Harding Retail - Visitors - All Items.png

2018-09-27 17_09_53-Visitor Registration - Main (Landscape) - Saved (Unpublished) - PowerApps.jpg
2018-09-27 17_06_58-Harding Retail - Visitors - All Items.png
Categories:
  • BenFetters Profile Picture
    on at

    One idea that I have is to add a new column called status and have it either be checked in or out, then you could filter the gallery with the formula: Filter(DataSource, Status=Checked in). Or something similar to that.

     

    Another idea is to filter the Checkin DateTime. On the items property in the gallery, you can put in a formula similar to this one: Filter( DataSource, Checkin DateTime=Today() ). 

     

    Hopefully these options work for you or at least give you some ideas on how to solve the problem. Let me know if that worked or if you need me to clarify anything. 🙂 

  • Verified answer
    Gargoolgala Profile Picture
    270 on at

    try Filter(Visitors,CheckIn_x0020_DateTime>Today() And IsBlank(CheckOut_x0020_DateTime))

     

    This should only show checkin greater than today like you already have but also only show if the checkout is blank. 

  • nallyface Profile Picture
    7 on at

    Perfect - thanks all for replies. App ready!

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard