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: 
rebelfox
Creator
Creator

Create date From Three Numbers

I loading three numbers from numeric fields which represent YYYY, MM and DD.

 

What is a simple way of setting these three fields as a single date value in the Load statement?

5 Replies
sasiparupudi1
Master III
Master III

makedate(YYYY,MM,DD)

Kushal_Chawda

Try

=date(date#(YYYY&MM&DD,'YYYYMMDD'),'DD-MM-YYYY')

Not applicable

Hi Roy,

Below can help to you

Temp:

LOAD * INLINE [

    YYYY, MM, DD

    2010, 09, 08

    2011, 03, 07

   

];

Final:

LOAD MakeDate(YYYY,MM,DD) as Date Resident Temp;

Regards,

Mahesh

rebelfox
Creator
Creator
Author

Thanks, that's very easy.

sasiparupudi1
Master III
Master III

Hi Roy,

Great!

Please close this thread if you got your answer so that it will be helpful for others

Thanks

Sasi