Skip to main content

Notifications

Power Apps - Power Apps Pro Dev & ISV
Unanswered

Timer value not starting from 00

Posted on by
 
Formula in text property is  "Text(Time(Hour(VarTimerST),Minute(VarTimerST),Second(VarTimerST)+Self.Value/1000), "hh:mm:ss")"
VarTimerST = if(CountRows(Filter(TblEmpSession, Text(DateValue(Date), "dd-mmm-yyyy") = Text(DateValue(Today()), "dd-mmm-yyyy") && EmpID = Dropdown2.Selected.Value && Status = "Live")) > 0,
 Set(VarTimerST, Text(Time(0, 0, DateDiff(LookUp(ColSwitch, EmpId = TextInput7_3.Text, TimerStart), Text(Now(), "dd-mmm-yyyy hh:mm:ss"), TimeUnit.Seconds)), "hh:mm:ss")), Set(VarTimerST,""))

Start and AutoStart properties = If(TimerStatusP = "Timer Started", true,false)

Timer Reset = true
 
This is a multiuser app when old user login then timer need to get data from ColSwitch if new person logined then timer need to start from 0 but it is not getting according to plan. Please suggest a solution or convey how can achieve the goal.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard