Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

I need to add 3 column of time and then the divide by a column number number

Rmartin8
5 - Atom

Hi,

 

I want to add to 3 columns that contain time and then divide them by a column name call handle. 

 

Formula trying to do in Alteryx 

 

Average Handle Time = Wait Time + Hold Time + Talk Time / Calls Handle

 

Calls Handle Wait Time Hold Time Talk TimeAverage Handle Time
800:24:0700:03:5900:04:00Wait Time + Hold Time + Talk Time / Calls Handle
2601:34:1700:16:3000:10:13 

 

Thank you in advance!

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @Rmartin8 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1645026801496.png

 

Hope this helps : )

 

Rmartin8
5 - Atom

@atcodedog05  Is it possible to then turn the Average handle time (seconds) to the correct time format.

binu_acs
21 - Polaris

@Rmartin8 to convert it into HH:MM:SS format you can do something like below

PadLeft(ToString(Mod([Average Handle Time]/3600,3600)),2,"0")+":"+

PadLeft(ToString(Mod([Average Handle Time]/60,60)),2,"0")+":"+

PadLeft(ToString(Mod([Average Handle Time],60)),2,"0")

 

binuacs_0-1645030174049.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @Rmartin8 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1645031219668.png

 

Hope this helps : )

 

Labels
Top Solution Authors