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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to extract a date filed?

Hi All,

I am having a doubt in extracting the date filed from Year and Month fields.I have data like this;

Period

 

200501
200502
200502

 

200601
200602

kindly help me on thos to getting a Date field.

Thanks,

Chirumamilla

4 Replies
Anonymous
Not applicable
Author

try this

load

date#(Period,'YYYYMM') as Period

Chanty4u
MVP
MVP

try this

load *,

date(Date#(datefield,'YYYYMM'),'YYYYMM') AS Preiod_Date

;

Anonymous
Not applicable
Author

Hi,

Use makeDate()

It will help you

For details check in help menu.

its_anandrjs
Champion III
Champion III

Try with Makedate function

Makedate(Year(Period),Month(Period)) as Datefield

Regards

Anand