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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Aubry
Contributor III
Contributor III

order of the labels

HI everyone,

I hope you are doing well

can you tell me how i can change the display order of the labels please ?

 

Aubry_0-1639572246528.png

 

thank  you for your help
have a good day
Aubry M

1 Solution

Accepted Solutions
Or
MVP
MVP

You can change the sort order using the "Sort" tab and Sort by Expression, e.g.

Pick(Match(Field,'A','B','C','D','E'),2,4,1,5,3) - this will sort the values in Field in the order C, A, E, B, D

Or_0-1639573196708.png

You could also load the values in the order you want them displayed (using ORDER BY or other methods) and then uncheck all the boxes which will sort by the original load order, or you could assign a second field to each text field that will determine the sort order and use that in a dual() statement such as Dual(DisplayField,SortOrderField) as Field, in which case you can sort it numerically.

 

View solution in original post

4 Replies
Or
MVP
MVP

You can change the sort order using the "Sort" tab and Sort by Expression, e.g.

Pick(Match(Field,'A','B','C','D','E'),2,4,1,5,3) - this will sort the values in Field in the order C, A, E, B, D

Or_0-1639573196708.png

You could also load the values in the order you want them displayed (using ORDER BY or other methods) and then uncheck all the boxes which will sort by the original load order, or you could assign a second field to each text field that will determine the sort order and use that in a dual() statement such as Dual(DisplayField,SortOrderField) as Field, in which case you can sort it numerically.

 

MarcoWedel

or maybe with the order directly defined in the Match() function:

 

Match(Field,'C','A','E','B','D')

 

 

Or
MVP
MVP

Oops. We can do that, right!

Aubry
Contributor III
Contributor III
Author

Hi Marco
I will try that, 
thx for the good idee

 

have a good day
Aubry M