Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have the following probleml. I have to import data from csv to Qlikview. Dates in csv look like: 3/11/2015 1:00:45 AM
(or M/DD/YYYY h:mm:ss AM).
The problem is that QV does not recognoze it like date and functions like date() or weekday() or date(num#()) on this field
don't return any value.
Please help.
Thanks,
Try date(floor(timestamp#('3/11/2015 1:00:45 AM','M/DD/YYYY h:mm:ss TT')),'M/DD/YYYY')
Hi Gysbert,
expression
date(floor((timestamp#('3/11/2015 1:00:45 AM','M/DD/YYYY h:mm:ss TT')),'M/DD/YYYY'))
does not return anything.
in a textbox the output of
=date(floor(timestamp#('3/11/2015 1:00:45 AM','M/DD/YYYY h:mm:ss TT')),'M/DD/YYYY')
in my QlikView is 3/11/2015
post some lines of csv file, if you can
Check the number of spaces here: '3/11/2015 1:00:45 AM'
and here: 'M/DD/YYYY h:mm:ss TT'
Make sure they are the same.
maybe because you added some brackets:
hope this helps
regards
Marco