Alteryx Designer Desktop Discussions

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

How to compute average time if data is a mixed format.

markharris
6 - Meteoroid

Hi Experts,

 

Please someone help me in determining how to compute the average time for all data if I have this input format?

4 days 22:09:48.871
00:07:53.778
1 day 03:20:46.859
1 day 03:20:46.859
1 day 03:20:46.859
1 day 02:23:26.158
04:02:27.267
04:11:04.754
00:14:25.235
00:06:27.322
4 days 18:56:47.965
4 days 18:56:47.965
00:19:16.193
00:14:35.134
7 days 01:50:09.547
00:11:59.681

 

Is there a way in Alteryx to compute the average time?

 

Thanks!

Mark

4 REPLIES 4
nagakavyasri
12 - Quasar

To get time in minutes:

Screenshot 2023-06-27 135045.png

 

ed_hayter
12 - Quasar

I Have struggled here because of time fields expecting to be a 24 hour time rather than just unlimited hours:minutes:seconds. What I have done is computed the average time in seconds and then sort of made it into a time with a hacky formula at the end but you could do some calcs to have seperate fields for days hours minutes seconds if you want seperate fields for the duration.

 

Cannot upload images to comments at the moment.

markharris
6 - Meteoroid

I really appreciate the help. This will save me time. 😀

markharris
6 - Meteoroid

Thank you I can work on this too. 👍

Labels