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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
rish
Contributor III
Contributor III

Month Field Sorting

I created a month field using the following expression:

Month(DateField)&' '&Year(DateField)

 

But I can't sort it properly, I was able to get it sorted in the order of years but not with months. Can anybody help me with this? what expression can i use for this? 

1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Create it like this instead

Date(MonthStart(DateField), 'MMM YYYY')

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

Create it like this instead

Date(MonthStart(DateField), 'MMM YYYY')
rish
Contributor III
Contributor III
Author

Hi thanks, it works!!!