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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sorting month field

Hi all

Please let me know how can I sort field named 'Month' having values as follows:

Month
Feb
Aug
Jan
May
Nov
July

I want to display values 'Month' field as:

  

Month
Jan
Feb
May
July
Aug
Nov

Thanks in advance.

Regards,

12 Replies
shiveshsingh
Master
Master

and don't forgot to promote month in sort tab

baarathi
Creator III
Creator III

Go to sort tab, select sort by expression and give num(month(datefield)) and ascending at top

sasiparupudi1
Master III
Master III

try this  as the sort expression

Date#(Month,'MMM')

or

Num(Month(Date#(Month,'MMM')))