Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Adding Time

Jeff88
6 - Meteoroid

Good Day,

 

I've been checking some solution by it seems that its not working on my end. Is there a way to add multiple time in time format (HH:MM:SS)?

 

BreakLunchCoachingTrainingMeetingHoldAvailSUM of All
2:05:158:32:203:05:1110:05:152:33:1500:05:0203:02:22 

 

 

Thank you,

10 REPLIES 10
Robin_McIntosh
11 - Bolide

What are you trying to add up?  Duration between each activity?  Are the values below actual times or lenght of the activity?

Jeff88
6 - Meteoroid

Hi Robin,

 

It's the length of activity. I just want to add the total time.

For Ex.  (Coaching) 1:03:05  +  (Meeting) 3:05:15 = 4:08:20   < this should be the result

 

Also just to add,

Is there also a way to divide the time and result in percentage, like in excel.

 

For Example

Total Time (5:25:08) / Actual Time (8:22:03)  = Result should be 64.76%

 

Thank you in advance

 

binuacs
21 - Polaris

@Jeff88 one way of doing this

 

binuacs_0-1657894300739.png

 

 

LouisJ
8 - Asteroid

I made it too but binuacs's method is a tiny bit more efficient haha

LouisJ_0-1657893912640.png

 

Jeff88
6 - Meteoroid

Thank you so much, will check

 

Is there a way to divide the time? sorry i just edited my last question and add the question to it

Jeff88
6 - Meteoroid

Thank you,

 

One more thing please, i do have other columns that is not a time format. How do i show them after the result? I have Name, Supervisor and Site

binuacs
21 - Polaris

@Jeff88 Can you share a sample file with the given fields?

LouisJ
8 - Asteroid

My take on dividing (convert times to second and then divide) :

LouisJ_0-1657894680341.png

 

binuacs
21 - Polaris

@Jeff88 adding additional names like name supervisor etc

 

binuacs_0-1657896205748.png

 

Labels