Free Trial

Alteryx Designer Desktop Discussions

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

Organize Time Count

knozawa
11 - Bolide

I would like to organize the time count by hour.

 

Sample Time Data

Sample Time Data.png

 

I sprit them into Hour, Min, and Sec.

Sample Hour_Min_Sec.png

 

I would like to create a table like this

Sample Result.png

 

Does anyone know how to do this using Alteryx tool?

 

Thank you,

Kazumi

 

5 REPLIES 5
dataMack
12 - Quasar

If you already have the step of splitting the time into its components including hour, then just drag a 'Summarize' tool onto the canvas, add 'Hour' as your Group By field and then Hour again as a Count field.  That will give you the table you want below.

knozawa
11 - Bolide

Hi Jason,

 

Thank you for your suggestion.

However, there are missing hours and it doesn't show in the table (1, 5, 23).

Sample Missing Hours.png

 

Do you think it is possible to present "0" count in the table?

 

Thank you,

Kazumi

DanHare
11 - Bolide
Hi If you were to do the following it should work ; * create a text input source with numbers from 1-24 as hours, with 0 as count * JOIN to your outputs, let's say that your text input above is Right source * then you could UNION the Join and Right outputs together.
knozawa
11 - Bolide

Thank you very much! I was able to do that successfully.

 

Sincerely,

Kazumi

DanHare
11 - Bolide

Welcome ! Smiley Happy

Labels
Top Solution Authors