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 / Timers in Gallery inte...
Power Apps
Unanswered

Timers in Gallery interfering with each other

(1) ShareShare
ReportReport
Posted on by 90
I created a random seat drawer app. The app has two galleries on both side as shown below. Each template has a button, with Text sets to seat number, and a timer. 
 
 
The Draw button will select seats from a pool of available seats (total 43 seats) and once a seat is selected (status changes from 0 to 1), the timer associated with the seat will start automatically with duration of 20 secs (for dev purpose only. Should be 3 hrs). Once the timer ends, the OnTimerEnd trigger will change the seat status from 1 to 0. My problem is, the first timer, whatever the seat is, will always start correctly. But when the second seat is selected and its timer starts, it will somehow reset the first seat's timer so now both timers' counts are the same when they should be different...Please see attached video demo. 
 
Here are the related settings: 
Gallery on the right: 
Items: SortByColumns(Filter(Seats, crec5_order <= 22), "crec5_order", SortOrder.Descending)
Timer on the right: 
Text: Text(Time(0, 0, RoundUp(20-Self.Value/1000, 0)), "h:mm:ss")
Duration: 20000
OnTimerStart: false
OnTimerEnd: Patch(Seats, ThisItem, { 'Seat Status': 0, 'Start Time': Blank(), 'End Time': Blank() });
Start: ThisItem.'Seat Status' = 1
Repeat: false
Auto start: false
Auto pause: True
 
Gallery on the left: 
items: SortByColumns(Filter(Seats, crec5_order > 22), "crec5_order", SortOrder.Descending)
Timer on the right: 
--same--
 
Something must have been interfering, but i don't know... If nothing works, i am planning to abandon gallery and manually add 43 button and timer controls to see if it helps...
 
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,064 Most Valuable Professional on at
    I think 43 timers on the one screen is stretching resources way beyond what they were designed for, however in theory they should work. You are however going to need 43 different Variables as the behaviour you are seeing is expected if you are using the same Variable.
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard