Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Short

i have a selection box where i have used category column

and value of category is like

abc

dec

xyz

ghd

hji

jky

and i want to short it like

jkl

xyz

dec

hji

abc

jky

i have tried by using inline table as category

jkl ,01

xyz,02

dec,03

hji,04

abc,05

jky,06

as no assign as column s.no

and try to short expession s,no

assending

but not getting desired result ,

is there any way to short as i need.

1 Solution

Accepted Solutions
MayilVahanan

Hi,

Use like this,

    = wildmatch(FieldName,'jkl','xyz','dec','hji','abc','jky') in Sort tab ->expression and give ascending

     (Or)

Load * inline

[

FieldName,Value

jkl ,01

xyz,02

dec,03

hji,04

abc,05

jky,06

];

Load * from fileName;

Hope it helps

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

View solution in original post

2 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Load the sort order in inline before the loading the main table

then use sort by as Load Order

MayilVahanan

Hi,

Use like this,

    = wildmatch(FieldName,'jkl','xyz','dec','hji','abc','jky') in Sort tab ->expression and give ascending

     (Or)

Load * inline

[

FieldName,Value

jkl ,01

xyz,02

dec,03

hji,04

abc,05

jky,06

];

Load * from fileName;

Hope it helps

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