Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
anuradhaa
Partner - Creator II
Partner - Creator II

Group by time and date

Hi, I have events table and those events happen in different times. i want to get previous day events and categorize them based on shifts.

My Shifts are 06:30 - 14 :30

                    14:30 - 22 :30

                    22 : 30 - 06 :30

My event date is in 11-04-2015 5:17:00 PM format.

I want to get the event day counts in last 3 complete shifts. ( if i reload it on  11 - 04 - 2015 03 : 00 am

Then i'm considering    14 : 30 - 22 :30  on 11 - 03 - 2015

                                  06:30 - 14 :30 on 11 - 03 - 2015

                                  22 : 30 - 06 :30 on 11 - 02- 2015     as three complete shits.

Can i do it by not doing changes in scripts ?

or else how can i solve this problem.

Thanks in Advance

3 Replies
Gysbert_Wassenaar

Can you post a small qlikview document with example data?


talk is cheap, supply exceeds demand
Anonymous
Not applicable

Do you have Shift table as well along with Event Table?

anuradhaa
Partner - Creator II
Partner - Creator II
Author

It's not that accurate,

Please find attached for times.

I need to put them to latest 3 shifts,

06:30 - 14:30

14:30 - 22:30

22:30 - 06.30 next day