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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
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.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

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
tresesco
MVP
MVP

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.

tresesco
MVP
MVP

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')