Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
pratap6699
Creator
Creator

how interval match with dates?

iam using with numerics its work fine but dates wise iam not get correct result,please explain

4 Replies
Not applicable

hi,

use interval match with date format or numeric format of date because it compares the date then give result.

may be you date in string format show that interval match not working.

i will suggest you use interval match with numeric date or date like num(DATE) (it will run fast).

Regards

Vimlesh

Not applicable

May be your date field’s not proper format. First you can convert all field in one format then you can try.

pratap6699
Creator
Creator
Author

ya thanks for quick reply my dear friend...i know how to use of interval match between numerics but without converting the num format of dates is it possible...like ABC table is there which contains

ABC:

load mindate,maxdate,ename

01/05/15,20/05/15,srinu

01/04/2014,20/04/2014,pratap

02/03/2013,10/03/2013,venkat

XYZ:

load date,dept

15/05/15,sales

21/04/2014,production

02/03/2013,clerk

bridge:

interval match(date)

load mindate,maxdate resident ABC;

without converting dates into num is it possible?

anbu1984
Master III
Master III

No it is not possible

ABC:
load Date#(mindate,'DD/MM/YYYY') As mindate,Date#(maxdate,'DD/MM/YYYY') As maxdate,ename Inline [
mindate,maxdate,ename
01/05/15,20/05/15,srinu
01/04/2014,20/04/2014,pratap
02/03/2013,10/03/2013,venkat ]
;
XYZ:
load Date#(date,'DD/MM/YYYY') As date,dept Inline [
date,dept
15/05/15,sales
21/04/2014,production
02/03/2013,clerk]
;

bridge:
IntervalMatch(date)
load mindate,maxdate resident ABC;