Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
octuslimb
Contributor
Contributor

Date Format Issue

Hello, I am loading 3 .xlsx spreadsheets into Qlikview, all contain two date columns, DATE_A & DATE_B, both formatted to dd/mm/yyyy. However, once loaded in, DATE_A reads dd/mm/yyyy, and DATE_B reads yyyymmdd. I require both dates to be presented yyyymmdd. As the spreadsheets are from a 3rd party, I cannot alter them prior to the load. I've tried the Qlikview community site, late last night, both nothing is working so far? Any advised would be greatly appreciated. Thanks

2 Replies
stevejoyce
Specialist II
Specialist II

What if you load in like:

date#(DATE_B, 'yyyymmdd') as DATE_B

 

You also need to handle blanks/nulls which can prevent the field from being loaded as a date.  You can try this in the beginning of the load script:  

NullInterpret = '';
Chip_Matejowsky
Support
Support

Moving this thread to the QlikView App Dev forum.

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!