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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
parpatra
Partner - Contributor III
Partner - Contributor III

Join Date and Char

Hi All,

I want to know we need to have similar datatypes for joining at script level in Qlikview?

I have a char to be joined with a date (Both YYYYMMDD) format.

Thanks in advance!!

1 Reply
pover
Partner - Master
Partner - Master

Yes. You have to have a similar datatypes to do joins between tables. The char would be most likely interpreted as a text value and the date as a dual value with both text and number. Your best option would be to change the datatype of the char value in the following way.

...
date#(trim(charDateField),'YYYYMMDD') as charDateField,
...

The trim is just to make sure there is no whitespace character hiding in the column.

Regards.