Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Order Values in ListBox

Hello,

I have a ListBox where there are the following values:

0<X<2

2<X<4

4<X<6

6<X<8

The thing is that when I show those values, they show differently, and I've tried different ways (Number, Text, Load Order).

Do you know how could I order them?

Thank you!

4 Replies
veidlburkhard
Creator III
Creator III

Hi Mart,

Sorting by 'Text' is the right answer see the picture below:

Sortbucket.jpg

Hope this helps

Burkhard

Not applicable
Author

Thanks! And what if I have the value: X>8? Is there any way to order that one?

Because it appears as the first value when I order them.

veidlburkhard
Creator III
Creator III

Hi Mart,

I tested it and it worked well with sorting by 'Text'. See the picture

Sortbucket.jpg

You should be aware not to have a space in front of the X, though...

Hope this helps

Burkhard

sasikanth
Master
Master

Try to use Match() function in Sort tab--->Expression

lsome thing like

=Match(<Filed-name>,'0<X<2','2<X<4','4<X<6','6<X<8')

Hope it will help