Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! 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

Try with Makedate function

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

Regards

Anand