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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Interval Match

Hey Guys.

Can anyone give me a good basic example of an interval match? Ive searched the forums but all the ones I came accross were a bit to confusing for me. I want to try and use Interval Match in one of my projects but I don't understand it properly.

1 Solution

Accepted Solutions
Not applicable
Author

Check this post http://community.qlik.com/forums/t/23510.aspx

I've tried to explain there how to replace IntervalMatch by usual Load statements. Maybe it can help.

View solution in original post

19 Replies
martin59
Specialist II
Specialist II

Hi,

Hope that helps you.

Not applicable
Author

very nice, but theres one problem, its French and Im English lol

martin59
Specialist II
Specialist II

Sorry, i've forgot it ! I translate it now.

martin59
Specialist II
Specialist II

That's it !

Not applicable
Author

Thanks for the replies Martin i really appreciate it, however, I'm still not sure what to do to create an interval match. Maybe you can help me?

I want to create an nterval match between two fields, StartDate and EndDate.

LOAD StartDate,

EndDate;

SQL SELECT *

FROM Employee;

This is the first one and this is the second,
LOAD BusinessEntityID,
TerritoryID,
StartDate,
EndDate;
SQL SELECT *
FROM SalesTerritoryHistory;
Any Ideas?


Not applicable
Author

Anything?

martin59
Specialist II
Specialist II

It's a certification, try to do it yourself.

Not applicable
Author

i tried INTERVALMATCH (StartDate,EndDate); SELECT StartDate,EndDate FROM SalesTerritoryHistory; but its not working??

PLEEEEES HELP!!!!

martin59
Specialist II
Specialist II

Firstly, you have to use the intervalmatch function with only one argument.

So you have to do something like :

INTERVALMATCH (OrderDate)