Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How do i seperate day-month-year from same field

Hello,

Please find attached, how do i extract day to a different listbox also month and year using script.

Regards

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

May be Like this.

Regards

ASHFAQ

View solution in original post

7 Replies
MarcoWedel

Load

date,

day(date) as day,

month(date) as month,

year(date) as year

from yoursource;

hope this helps

regards

Marco

mahesh_agrawal
Creator
Creator

hi,

PFA

ashfaq_haseeb
Champion III
Champion III

May be Like this.

Regards

ASHFAQ

ashfaq_haseeb
Champion III
Champion III

Updated.

Regards

ASHFAQ

ashfaq_haseeb
Champion III
Champion III

Hi You have date till 31.2.2014 whereas feb in 2014 is having 28 days and rest all is considered to be march by default in Qlik Its  converted to 1 2 3 mar respectively.

Regards

ASHFAQ

ashfaq_haseeb
Champion III
Champion III

Hi,

Can you close this thread.

Regards

ASHFAQ

MarcoWedel

you also could change your date format in the script from

SET DateFormat='M/D/YYYY';

to

SET DateFormat='DD.MM.YYYY';

hope this helps also

regards

Marco