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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to sort the numeric value Of List box.

Hi Community,

I have date field in below format and i have to sort this value in List box in ascending order.

e.g.

Date

2016-12,

2016-1,

2016-10,

2016-5

Expected Output

2016-1,

2016-5,

2016-10,

2016-12

Please also refer below image

Date.png

Thanks in advance.

11 Replies
sunny_talwar

Dual function assigns a numeric and text value to a field. For text, we are using what you wanted to see and for numeric we used WeekStart() function which basically helps you sort the text value best of the underlying numeric value.

Anonymous
Not applicable
Author

Thanks Sunny,

Now i understood.