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: 
mithunjacob
Partner - Contributor II
Partner - Contributor II

Join two tables with Dates between condition (exceptions are also there)

I am trying to join two tables based on a date which lies between start date and end date. But there are multiple cases where the condition satisfies this 'in between dates' . In such cases, I need to take Max End date which I am facing challenges. Could you please help?

Key - Code_IM + time in between Start date and End date

Untitled.png

13 Replies
mithunjacob
Partner - Contributor II
Partner - Contributor II
Author

The latest one which is closer to 'Time'. And once again thank you for valuable time and help.

mithunjacob
Partner - Contributor II
Partner - Contributor II
Author

Sorry, I mean closer but Time>START_DATE

ali_hijazi
Partner - Master II
Partner - Master II

Then from the final table take records where Time > Start date
I can walk on water when it freezes
ali_hijazi
Partner - Master II
Partner - Master II

but for this case TIM is always greater than START DATE (all records are like that)

I can walk on water when it freezes