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 / Record time passed.
Power Apps
Answered

Record time passed.

(0) ShareShare
ReportReport
Posted on by

I want to do a navigator that measures the time each person took in each step and the total time. I am relatively new to Powerapps each step displays an instruction i.e. take out the trash. etc but I want to see how long it took someone to do that. Please help

rand.PNG
Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    You'll want to explore the Timer control and get used to some samples of how it works.  

    Take a look over that.  You can grab the timer count and store it as needed through the process.

     

    Hope this helps.

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @jornok,

    Could you please share a bit more about your scenario?

    Do you want to measure/calculate the time each person took in each step within your Navigator App?

    I agree with @RandyHayes's thought almost. Based on the needs that you mentioned, I think the Timer control could achieve your needs.

    On your side, you should add one Timer control (Timer1, Timer2, Timer3, ...) within each step (screen) of your Navigator App. When you click "Navigate" button within each step (Screen) to navigate to next step (screen), calculate/measure the time you took within this step.

    I have made a test on my side, please take a try with the following workaround:1.JPG

     

    First StepFirst Step

     

    Step2Step2

     

    Step3(Last Setp)Step3(Last Setp)

    Set the OnVisible property of the first screen of your app to following:

    Clear(TimeCollection)

    Configure the Timer control (Timer1, Timer2, Timer3, ...) within each step (screen) of your Navigator App as below:

    Set the Duration property to following:

    60000*10 /* <-- 10 Mins. On your side, you should specify the Max Time each step may take */

    Set the AutoStart property to following:

    true

    Within the Step1 (Screen1), set the OnSelect property of the "Next" button to following:

    Collect(TimeCollection, {Step:"Step1", Time: Timer1.Value/1000});
    Navigate(Screen2, ScreenTransition.Fade);Reset(Timer1)

    Within the Step2 (Screen2), set the OnSelect property of the "Next" button to following:

    Collect(TimeCollection, {Step:"Step2", Time: Timer2.Value/1000});
    Navigate(Screen2, ScreenTransition.Fade);Reset(Timer2) 

    Within the Step3 (Screen3, On my side, it is the Last Step), set the OnSelect property of the "Finish" button to following:

    Collect(TimeCollection, {Step:"Step3", Time: Timer3.Value/1000});Reset(Timer3)

    Note: On your side, you may have many steps. On your Last Step, you need to add a "Finish" button as above rather than "Next" button.

     

    After that, the TimeCollection would be populated with Time value (seconds) for each step. The screenshot as below:

     5.JPG

     

    Then you could use the following formula to calculate the Total Time took within your Navigator App:

    Sum(TimeCollection, Time)

     

    Best 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 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 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard