Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sort by in expression list box

Hi,

My list box is concatination of Numeric and text values Like:

5689-anvfgh

1002-gjkhk

455565656-tyhkjljkl

How can i do sort by A-Z on text value?

5 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

Use sort by expression as

=SubField(FieldName,'-',2)

MayilVahanan

HI

PFA

Edit:

Yes, Celambarasn gave the result .. sorry i didn't notice it.

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

untitled.bmp

pl see above img.

My Expression is Numerber &'-'& Text

i want to sort all tezt by A-Z regardless od numeric value

MayilVahanan

HI

Can you post a sample file? Its helps to find a solution

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

Why not take care of this in the laod script.

Load

     NumField & '-' & TextField as Field1,

     NumField,

     TextField,

     "

     "

     "

Then in your list box select the concatenated field Field1 as your dimension.  In the sort tab use the TextField in the expression to use that as the sorting field.

Good luck

Oscar