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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
alexandermllr
Creator
Creator

Date format problems

Hello,

I have problems with a date format.

I have this format:

     date

     115

     216

     1115

I want this:

     date

     2015/01

     2016/02

     2015/11

My problem is the month.

Thank you for you help

1 Solution

Accepted Solutions
sunny_talwar

Try like this:

Table:

LOAD *,

  Date(Date#(Num(Date, '0000'), 'MMYY'), 'YYYY/MM') as NewDate;

LOAD * Inline [

Date

115

216

1115

];

Capture.PNG

View solution in original post

2 Replies
sunny_talwar

Try like this:

Table:

LOAD *,

  Date(Date#(Num(Date, '0000'), 'MMYY'), 'YYYY/MM') as NewDate;

LOAD * Inline [

Date

115

216

1115

];

Capture.PNG

alexandermllr
Creator
Creator
Author

Hi,

Thank you very much!