Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Converting date to month year

I have a list of dates which i have converted to month and year for use in selections within an application.

year(date), month(date) etc.

I was wondering if it was possible to create a combined date/month field for use in selections.

I have tried to convert it using (Date(Date, 'MMM-YY')) as MonthYear, but when creating a list box it has created a MonthYear for every date in that month.

Thanks for any help

1 Solution

Accepted Solutions
erichshiino
Partner - Master
Partner - Master

Use this:

(Date(monthstart(Date), 'MMM-YY'))

View solution in original post

2 Replies
erichshiino
Partner - Master
Partner - Master

Use this:

(Date(monthstart(Date), 'MMM-YY'))

havko
Contributor
Contributor

u saved me thanks