Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
kwl1234
Partner - Contributor III
Partner - Contributor III

Month sort order will be changed after selection

If I don't choose any selection, the sort order is  normal.

kwl1234_0-1611802446585.png

However, when I select month, the sort order will be changed. It always Nov and Dec on the Top.

Sorting expression Date(Date#(LINK_Month,'MMM'))

Capture2.PNGCapture1.PNG

 
 
 
 

Capture3.PNG

 

Could it possible sorting the month after selection e.g Jan,Feb,Mar.....

 

Labels (1)
  • SaaS

1 Solution

Accepted Solutions
MayilVahanan

Hi @kwl1234 

May be try like below

Date(Date#(only({1}LINK_Month),'MMM'))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

3 Replies
MayilVahanan

Hi @kwl1234 

May be try like below

Date(Date#(only({1}LINK_Month),'MMM'))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
kwl1234
Partner - Contributor III
Partner - Contributor III
Author

Thank you. It woks😀

PradeepK
Creator II
Creator II

I suggest you to look into your field tags.... you do not have to add sort expression every time.. This should be interpreted as NUM / INT... and not ASCII / STRING 

TextMonth Sorting DataModel.png

 

 Qlik Sense automatically aligns text fields to left side to highlight this.. same as in your shared screenshot.

Below is the sample reference.

TextMonth Sorting.png

Once you have your field in correct type.. sorting should be automatic.. 

TextMonth Sorting selected.png

 

 I hope this helps.