Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

how best to count start/stop times for concurrency

mazeffa
5 - 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.

2 REPLIES 2
BenMoss
ACE Emeritus
ACE Emeritus

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

danrh
13 - 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