Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Time Intervals

Hello,

I am new to QlikView developing and I am running into some some issues attempting to create time intervals for different shifts.

The scenario is that I am trying to create a ListBox that displays different shifts based on a Dt_tm field. I can load the inline tables but I cannot get the data to relate to the actual dates and times. Ideally I would like to have 24 hrs broken into three shifts.


Below is what I have thus far and any help/advice is greatly appreciated!

Shifts:

load * inline

[

START,END   ,Shifts

01:00,08:00 ,A

08:01,04:00 ,B

04:01,12:00 ,C

];

Data:

Intervalmatch(CHECKIN_DT_TM) load

START,END

Resident Shifts;

Thanks in advance!

Jordan

Labels (1)
2 Replies
Nicole-Smith
MVP
MVP

Jordan Ketch wrote:

Data:

Intervalmatch(CHECKIN_DT_TM) load

START,END

Resident Shifts;

Where are you loading in the CHECKIN_DT_TM field?  It needs to be before you use the interval match function...

Not applicable
Author

It is a field that I am pulling from our connection. I think that is where my knowledge gap is - not sure where/how to relate it.

Thanks for the quick reply!

Jordan