Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Parking lot, peak pr. day

Dear sirs

I administer a parking lot, and I wish to measure the max/min usage pr. day/hour etc.

For now I have constructed a table that counts how many cars have parked in a certain time interval (15 mins)

the formula for this is sum(count) and Period is the dimension

Udklip.JPG

So - I can measure the no of cars parked on any given time.

Now i wish to create a chart that shows (with the date as the X-axis)

- average no of parked cars in every 15 min interval throuhout the day

- max of parked cars during the day (pr. 15 min interval)

- min of parked cars during the day

I have some trouble contruction the formulas for this. Can anyone throw a lifeline?

Thanks in advance.

Jesper

5 Replies
Not applicable
Author

- average no of parked cars in every 15 min interval throuhout the day

- max of parked cars during the day (pr. 15 min interval)

- min of parked cars during the day

For this have dimension as period.

Expression;

1. Sum(Count)/ Sum(total Count)

2. Max(Count)

3. Min(Count)

You need to create a separate chart for each expression.

Not applicable
Author

Thanks, I was hoping to have all expressions in the same chart.

One solution could be to calculate the max/min values in the script, I would prefer to have en expression based calcualtion though.

Jesper

Not applicable
Author

No need to calculate Min/max values in the script. if we do this then reload time of script to be high.

Kushal_Chawda

can you please share some sample data

Not applicable
Author

sure