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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

When I use a Expression to Sort a field, Position is changing

Hi Guys,

I have Month name and want to sort it by Month Number.

So when displaying I am displaying Month Name and when in sort using expression MonthofYear which is nothing but number 1 to 12.

It is working fine but position is changing when i select any month. For example If I select Jan, Jan will be star displaying at the end.

I don't want this want to freeze the position of each value  like Jan Feb to Dec.

Please see screenshot attached

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Sort by the expression only({1}MonthofYear) instead. The {1} will prevent the selection from influencing the sort expression.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Sort by the expression only({1}MonthofYear) instead. The {1} will prevent the selection from influencing the sort expression.


talk is cheap, supply exceeds demand
Not applicable
Author

Gysbert,

Thank you. It works