community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

how best to count start/stop times for concurrency

Atom

I have 5 million+ rows of appointment data (start/stop times) that I am looking to convert to 15 minute blocks to use for demand forecasting in scheduling.

 

Example:

 

Start time: 9:30

Stop time: 10:10

 

I am looking to populate columns 9:30-9:44, 9:45-9:59, 10:00-10:14  each with a one and the other 93 columns would have a zero for that particular row.

 

Thanks.

Alteryx Certified Partner
Alteryx Certified Partner

Hi!

 

Fun challenge! I created a scaffold of the different time ranges using the generate rows tool and the CEIL function before joining it with the main data stream.

 

Example workflow attached, please let me know if you have further questions.

 

Ben

Pulsar

Definitely a fun one.

image.png

This will generate all the 15 minute increments in a day and place a 1 in each column where the range crosses. Take a look, see if it helps!

Labels