Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
CBoardy
Contributor III
Contributor III

Specific Sort Order

Hi All,

I want to sort one dimension (a) in a very specific way. I had the idea of creating an extra Column(b) in the dataset ascending in value ie 1, 2, 3,....4 labelling the row I want at the top 1 and somehow putting in a few lines that sort dimension (a) buy the newly added column. Is there a more "proper" way to do this like is there a way to specifically order dimension (a) by actually listing the values in the order I want? 

Many thanks

Labels (1)
2 Replies
joaopaulo_delco
Partner - Creator III
Partner - Creator III

Hi @CBoardy , you can do the way you mentioned. Adding a extra column and inside the sort properties you define the  order by this extra column.

Other way to do that is defining  a sort propertis by expression like this (do it like this only if you have little data):

if(yourDimension='text1',1,
if(yourDimension='text2',2,
if(yourDimension='text3',3,...

 

Help users find answers! Don't forget to mark a solution that worked for you!
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP