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 / Clearing Gallery after...
Power Apps
Answered

Clearing Gallery after 1 hour possible ?

(0) ShareShare
ReportReport
Posted on by 15

Hello,

 

i am making a time-out application for students with powerapp, the students have to scan a QR-code and then their attendence is written to an excel file, the teacher has a personalized screen where he/she can see which students are currently checked in on the time-out, now all the students get written to an excel file that doesnt need to be reset, but i want the gallery where the teacher can see which students are currently checked in to reset every hour, because time out will take 1 hour, so the next teacher who has timeout duty doesnt need to see all the other students in the gallery from the previous hour.

 

Is this possible?

 

Thanks in advance.

Categories:
  • Verified answer
    CU07051257-0 Profile Picture
    on at

    Hi @Jarno28 ,

    If I understand correctly, you want to preserve the data in the Excel, only empty the gallery?
    I suppose you could create an extra column in your Excel with a timestamp. 
    Then you could filter the gallery like this:

    Filter([DataSource], Hour([TimestampColumn]) = Hour(Now()))

    This should only give records from the same hour.

    This does not automatically update the gallery, so you could use a timer control or something to periodically refresh the datasource/gallery.

    I hope this is helpful for you. If so, please click on the Thumbs Up below and Accept it as the solution, so this could be helpful to others with the same problem.
    Kind regards, Jan-Pieter

  • Jarno28 Profile Picture
    15 on at

    Where would i put this formula ? 

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 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard