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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Not able to convert

Hi Communtiy 

I am not able to convert the attached excel sheet  attachedn inot a proper date , year and weekly . 

I tried all the option of date conevrsion. Can please someone help to conevrt this date 

 

Thanks

 

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try using a date interpreter to define your date/timestamp.

It could look  something like this:

 

Load 

Dayname(tmp) as Date,

Year(tmp) as Year,

Mont(tmp) as Month ;

Load 

Timestamp#(Date, 'DD-MMM-YY hh.mm.ss.fff TT') as tmp

From source;

 

View solution in original post

2 Replies
Vegar
MVP
MVP

Try using a date interpreter to define your date/timestamp.

It could look  something like this:

 

Load 

Dayname(tmp) as Date,

Year(tmp) as Year,

Mont(tmp) as Month ;

Load 

Timestamp#(Date, 'DD-MMM-YY hh.mm.ss.fff TT') as tmp

From source;

 

zhadrakas
Specialist II
Specialist II

This worked for me

Load Timestamp(Timestamp#(Date, 'DD-MMM-YY hh.mm.ss')) as Timestamp,
     Date(Timestamp#(Date, 'DD-MMM-YY hh.mm.ss')) as Date
;
LOAD subfield(Date, '.000000000', 1) as Date
FROM [Date-Convert.xlsx](ooxml, embedded labels, table is [Extracted for pmoid]);