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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date field from the Month and Year Field

Dear All,

I have one requirement . can any one tell me how i find the date field from the Month and Year Field.

I have the Value in the Field  Fiscal Year like 2011,2012,2013..

Month - Apr, May , June....etc.

Regards

Deepak

2 Replies
tresesco
MVP
MVP

Use Date#() like:

Date(Date#(YearField&MonthField, 'YYYYMMM')) as Date

datanibbler
Champion
Champion

Hi Deepak,

for a complete date, you are missing the day, but never mind. Try the MAKEDATE() function. You might have to play around with the formatting - I have, in some instances, introduced a mapping_table where the monthnames (Jan, Feb, mar ...) are mapped to numbers (1, 2, 3 ...)

HTH

Regards,

DataNibbler