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: 
Not applicable

Joining tables where part of join is a date within a date range

I am relatively new to QV and haven't seen a solution to an issue I'm having. I have several fact tables that are organized by keyfield1 and date. These tables join to a lookup / dimension table which has a primaryID, keyfield1 and a start and end date range.

I want to associate / link the keyfield1 and date selection to a primaryID where keyfield1 is a match and the fact table date is in between the start and end dates of the lookup table.

I am loading data from SQL but can't preprocess this on the SQL side but am unsure how to do this within a QV load process.

thanks,

Pete

1 Reply
Anonymous
Not applicable
Author

Please have a look at the INTERVALMATCH command in the manual.

Regards,

Dinesh.