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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Derive Date

Hi,

I have field '201305'.

I would like to derive a Reporting Date ( can be start daet of the month) from the above .

How can i get it.

Thanks

Thejo.

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

then try like :

date#( YourDateField, 'YYYYMM')

or even you can use date function to get your desired format out of this like :

Date(date#(YourDateField, 'YYYYMM') , 'DD-MM-YYYY')

View solution in original post

3 Replies
tresB
Champion III
Champion III

your requirement is not very clear to me. if your '201305' is a date of format yyyymm then you can derive the date like :

date#('201305', 'YYYYMM')

Not applicable
Author

I have a column where i have the month year in the format of YYYYMM Like 201305.

I need to derive the date from this field.

tresB
Champion III
Champion III

then try like :

date#( YourDateField, 'YYYYMM')

or even you can use date function to get your desired format out of this like :

Date(date#(YourDateField, 'YYYYMM') , 'DD-MM-YYYY')