Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
ronaldwang
Creator III
Creator III

sorting in the list box based on another field

In a list box, I am displaying month field and I want to sort according to another file (say period). These two fields are from the same table and the corresponding is as below:

 

Month   Period

 

Oct          1

 

Nov         2

 

Dec         3

 

Jan          4

 

Feb          5

 

Mar          6

 

Apr          7

 

May         8

 

Jun          9

 

Jul           10

 

Aug          11

 

Sep           12

 

So in the sort field, I have used ascending expression =Period . but the result is not as expected. Any idea? thanks

 

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

Please find the attached application. its working in that

View solution in original post

4 Replies
Sergey_Shuklin
Specialist
Specialist

Hello!

Can you please share the result? Other options of sorting like "State" or "Text" is off?

Anonymous
Not applicable

Hi

Please find the attached application. its working in that

Anil_Babu_Samineni

What you mean "not as expected", What are you expecting to see after sorting option enabled?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
ronaldwang
Creator III
Creator III
Author

I am expecting the display would be Oct, Nov, Dec...etc. and the result is as below:

sorting.PNG