Alteryx Designer Desktop Discussions

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

Counting Calls in 30 mins increments

Hello,

 

Attached is a sample data file which lists calls made by date and time. I am trying to develop a workflow that groups the time into 30-min increments (i.e. 7:00:00 AM, 7:30:00 AM, 8:00:00 AM ) and count the number of calls for each 30-min increment. I can use a Formula tool but would require 48 IF-THEN-ELSE statements. Would there be a more efficient way to accomplish this?

 

Would be greatly appreciated if someone in the community can assist 

 

Thank you!

5 REPLIES 5
gawa
15 - Aurora
15 - Aurora

hi @oaevangelista2023 

In your case, I recommend to prepare 48 time zone group in advance, and cross-check with the input data like this.

Advantage of this way is that if you want to analyze data not only for 30mins but also for 15mins, 10mins...it can be easily adjusted on configuration of Generate Ros tool and Formula tool without having to change WF drastically.

Please have a look at the attached WF to see how it works.

image.png

Qiu
21 - Polaris
21 - Polaris

@oaevangelista2023 
Maybe there is a better way.
We can use the Generate Rows Tool to generate all the 30 minutes interval, then use Append tool for filtering.

0207-oaevangelista2023.png

Qiu
21 - Polaris
21 - Polaris

@gawa 
I forgot about the Count part 😁

Thank you for the solution

Qiu
21 - Polaris
21 - Polaris

Glad to help.

Labels