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: 
jcharles
Contributor III
Contributor III

Two questions on time

1. I have a list of data containing when a TV advert is flighted on a specific day. The advert is a 30 second advert that runs anytime during that timeslot.

DateStart TimeEnd TimeChannelProgramme
01/11/201305:00:0005:30:00ZZZDays of Our Lives
01/11/201310:30:0012:30:00XXXIron Man
24/11/201315:15:0015:45:00XXXNews

When the ad flights a person sms's a keyword into a number after which I get a report that looks like this:

DateTimeCell Number
01/11/201305:26:14555 555 5555
01/11/201306:13:29555 556 5577
01/11/201310:19:00555 559 9988
01/11/201311:55:23555 553 3322

My questions are:

I need to be able to allocate the number of sms's that come in to a specific advert. (Count the number of leads per advert). How do I do this?

How do I create a list box with time slots that can be chosen - e.g. any ad that runs between 05:00 and 10:00 - when selected in list bix then tables will give the number of ads run during that timeslot and the number of corresponding sms's that relate to that ad? (We assume sms's that come in anytime from when the ad was flighted to when the next ad is flighted on the same day belongs to that ad. When the next ad is flighted we start counting the sms's for the next ad).

7 Replies
Clever_Anjos
Employee
Employee

For question one, check your manual for IntervalMatch

For question two, check your manual for Class()

jcharles
Contributor III
Contributor III
Author


Thank you - It is a big help to know what to look for.

jcharles
Contributor III
Contributor III
Author

Thank you - It is a big help to know what to look for. and thanks for the link

Not applicable

post your sample application

Not applicable

Hi Joyce,

table1:
Load Date, [Start time] , [End time] , Channel , program From Table1;

         table2:

        Load Date, Time  , Cell Number From Table2;

IntervalMatch:
IntervalMatch (Date)
Load distinct 

[Start time][End time] resident Table1;

Hope it helps...

jcharles
Contributor III
Contributor III
Author

Thank you, really appreciated