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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date validation in tmap with different format

Hi, i have a main table, TABLE_A with .
TABLE_A is in join on CODE with lookup table, TABLE_B
what i want is to take only records where DATE is between DATE1 and DATE2.
Additional problem: TABLE_A.DATE is a string like this yyyyMMdd eg.20001231
TABLE_B.DATE1,DATE2 is a date like this dd-MM-yyyy eg.31-12-2000
Labels (2)
3 Replies
Anonymous
Not applicable
Author

You should convert all columns you want to use in a join into appropriated data types -> Date!
You can do the job with the tMap.
0683p000009MDIJ.png
Anonymous
Not applicable
Author

You should convert all columns you want to use in a join into appropriated data types -> Date!
You can do the job with the tMap.

hi, before and after functions not working
i thought i should use compareDate(DATE,DATE1)>=0 && compareDate(DATE,DATE2)<=0
Anonymous
Not applicable
Author

i also have a TIME table which contains dates in many different format, maybe can be useful to join it too