Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear QlikView users,
I started to work with QlikView two days ago, and although I'm amazed by the possibilities it offers I found some problem. Could enyone tell me how to change single number ex. 20080601 into date 01-06-2008? The date of my orders is saved like this;( I am able to do it in excel, but here it doesn't work.
I would appreciate help,
Beata
Hi,
You need to change the order so that you write the expression first and then the name of the field:
date(date#(20080601, 'YYYYMMDD'), 'DD-MM-YYYY') as OrderDatum
Hi Beata,
You can use date#() to tell QlikView how to interpret the number, for example:
date#(20080601, 'YYYYMMDD')
Then you can use date() to tell QlikView how to format the presentation of the date:
date(date#(20080601, 'YYYYMMDD'), 'DD-MM-YYYY')
Hi,
You need to change the order so that you write the expression first and then the name of the field:
date(date#(20080601, 'YYYYMMDD'), 'DD-MM-YYYY') as OrderDatum
Hi,
It works great, thank you very much! The final formula is: date(date#(Orderdatum, 'YYYYMMDD'), 'DD-MM-YYYY') as OrderDatum.
Have a nice day,
Regards,
Beata Jablonska