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

Data Extraction

Hi

I have my data in format yyyy-mm and I would like to have list box for year and month.

I have used Year(dataname) as year ... But it doesn't work. What is the way yo do it?

3 Replies
Anonymous
Not applicable
Author

Year((Date#(<your field>,'YYYY-MM')))

antoniotiman
Master III
Master III

HI,

try

Year(Date#(field,'YYYY-MM'))

and

Month(Date#(field,'YYYY-MM'))

Regards,

Antonio

Not applicable
Author

Thanks. It solved