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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
alkesh_sharma
Creator III
Creator III

Making Master Calender

Hello,

I have a data in which the date format is as below:

1-JAN_2013

2-JAN_2013 and so on...

How can i change it in standard format as the Year(), Month() commands are not working on the mentioned format.

Thanx in Advance

10 Replies
er_mohit
Master II
Master II

try this

load*,

year(Date) as Year,

Month(Date) as Month;

load

Date(Date#(Purgechar(Datefield,'_,-'),'DDMMMYYYY'),'DD-MMM-YYYY') as Date

FieldA,Fieldb,

....

..so on

from table;