Alteryx Designer Desktop Discussions

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

Calculating number of cars in a parking lot

tseo
7 - Meteor

Hello all

 

I would like to calculate how many cars are staying in my parking lot for each hour. 

 

The data I can get from my IT system is date and time of each car entered and out

 

Car number DateTimeInDateTimeOutDurationAmountDiscountTotalAmountPaid
AAAAA2023-03-31 13:11:512023-03-31 17:12:3224115000015000
BBBBB2023-03-29 13:09:412023-03-29 17:10:3624115000015000
CCCCC2023-03-27 11:32:412023-03-27 15:33:3824115000015000
DDDDD2023-03-16 12:14:482023-03-16 16:15:042411500078007200
EEEEE2023-03-13 11:17:312023-03-13 15:18:1724115000015000
FFFFFF2023-03-12 10:23:202023-03-12 14:24:2524115000015000
GGGGG2023-03-11 14:17:112023-03-11 18:17:4124115000015000
HHHHH2023-03-10 08:35:292023-03-10 12:36:1524115000015000
IIIII2023-03-08 19:52:292023-03-08 23:52:5824115000015000
JJJJJ2023-03-07 18:01:572023-03-07 22:02:1124115000015000
KKKKK2023-03-05 18:12:052023-03-05 22:12:5124115000015000

 

And this is what I am thinking of...

 

DateTimeNumber of cars
2023-03-0100:00 ~ 01:001
2023-03-0101:00 ~ 02:003
2023-03-0102:00 ~ 03:007
2023-03-0103:00 ~ 04:009
2023-03-0104:00 ~ 05:0016
2023-03-0105:00 ~ 06:0022
2023-03-0123:00 ~ 24:005

 

 

Any ideas or suggestions?

Many thanks.

3 REPLIES 3
Felipe_Ribeir0
16 - Nebula

Hi @tseo 

 

Try the attached workflow.

lucasevan
5 - Atom

How does the power waxer buffer function as a magical tool in the realm of surface enhancement, bringing dull and lackluster finishes to life with a glossy perfection?

Kathryn01
5 - Atom

Calculating the number of cars in a parking lot just got easier with the integration of Vin Look up site carfast. By utilizing this innovative tool, parking lot attendants can swiftly determine the exact count of vehicles present, streamlining operations and enhancing efficiency. With its comprehensive database and user-friendly interface, carfast revolutionizes the tedious process of manual counting, providing accurate results in no time. This integration marks a significant advancement in parking management technology, simplifying tasks and optimizing resource utilization.

Labels