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: 
antonybi
Creator
Creator

format

need help on converting into date.

date format in source data(.xls)

Date_format in excel.JPG

after loading into qlikview

incorrect_Format.JPG

I have already tried with date(date#(date_field,original_Format),'Desired_Format') but didn't work.

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

Try this

=Date(Num#(date))

And attached also

View solution in original post

7 Replies
surendraj
Specialist
Specialist

You can try

=Date('42736','MMM-YY')

its_anandrjs
Champion III
Champion III

Try this

=Date(Num#(date))

And attached also

agigliotti
MVP
MVP

your date field is a string rather a number.

could you provide the file "Additional report.xlsx" ?

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
its_anandrjs
Champion III
Champion III

For month name

=Date(Date(Num#(date)),'MMM-YY')

Or

=MonthName(Date(Num#(date)))

OmarBenSalem
Partner - Champion II
Partner - Champion II

How do you want to it to be be?

OmarBenSalem
Partner - Champion II
Partner - Champion II

Try:

MonthName(Date#(MONTH,'MMM-YYYY')) as monthName

or

MonthName(Date(Num#(MONTH))) as monthName

surendraj
Specialist
Specialist

may be--

Date(Datefield,'MMM-YY')

ex:

Date('42736','MMM-YY')

It will give  Jan-17,Feb17...