Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
tomgrouwe
Contributor III
Contributor III

Dates from Excel

Hi all,

Can someone help/explain the following issue.

I'm importing data from a single excel file. In the Qlikview table below you can see that  in row 4 the date is displayed correct. In the other rows there is a number. I find this strange because the excel cels contain a normal short date format. In the script i'm not doing any editing with date functions.


image.png

1 Solution

Accepted Solutions
arpitkharkia
Creator III
Creator III

Capture.PNG

 

Showing up correct for me.

View solution in original post

7 Replies
arpitkharkia
Creator III
Creator III

Better use the date function to make sure all your dates are in the same format.

Date(YourDateField,'DD-MM-YYYY')

I hope this helps.

tomgrouwe
Contributor III
Contributor III
Author

It works. Still, I find it strange that one date (16-4-2019) isn't in the same format as the rest of the dates...

afbeelding.png

arpitkharkia
Creator III
Creator III

Thats right, can you share the excel file?

tomgrouwe
Contributor III
Contributor III
Author

Here you go.

arpitkharkia
Creator III
Creator III

Capture.PNG

 

Showing up correct for me.

tomgrouwe
Contributor III
Contributor III
Author

Changed my doc settings from 'D-M-YYYY' to 'D-MM-YYYY'. Works fine nowSmiley Happy

afbeelding.png

arpitkharkia
Creator III
Creator III

Cool