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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Converting dates

How do you separate a date in the format YYYYWW (i.e 201432) to year, YYYY (2014) and date WW(32)?

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

if your field is a string (as I believe) and not a date, you can use left(fieldname,4) for year and right(fieldname,2) for week, even from your load script to optimize your ram usage.

View solution in original post

1 Reply
Anonymous
Not applicable
Author

if your field is a string (as I believe) and not a date, you can use left(fieldname,4) for year and right(fieldname,2) for week, even from your load script to optimize your ram usage.