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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Raju_6952
Creator III
Creator III

Sort - Month(Date)&'-'&Year(Date)

 
 

Hi All,

 

I am using Month(Date)&'-'&Year(Date) expression in my dimension in bar chart and i want it to be sorted Month and then year wise, Ex-

Jan-13, Feb-13.. and so on.

I see that the expression has been sorted properly but for some reason Oct-2013 and Nov-2013 is getting displayed at the end after Sep-2017.

 

Please help me get this fixed.

 

Thanks,

Raju

Labels (1)
1 Reply
rwunderlich
MVP
MVP

Try instead to create your dimension as 

=Date(MonthStart(Date), 'MMM-YYYY')

and then check Numeric for Sort type. 

-Rob