Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sort a list in text object by Dimension

Hi,

I have a dimension that i sort in my graphics with another dimension. It allows to give specific order to the dimension. But i have to show this dimension in a report, so in a text box, and i don't find a way to sort it the like the dimension.

Commencer une nouvelle discussion  Qlik Community - Google Chrome.jpg

It should exist a formula like sort(dimension, field)... or i don't know.

Thanks for the help !

1 Solution

Accepted Solutions
jerem1234
Specialist II
Specialist II

Not sure how you are displaying the Field in the text box. I would assume you are concatenating the field values. The concat function has a built in sorting mechanism if you use the third parameter like:

concat(Company, ',', [Company sequence])

or

concat(Company, ',', -[Company sequence])

Depends if you want ascending or descending.

Hope this helps!

View solution in original post

2 Replies
jerem1234
Specialist II
Specialist II

Not sure how you are displaying the Field in the text box. I would assume you are concatenating the field values. The concat function has a built in sorting mechanism if you use the third parameter like:

concat(Company, ',', [Company sequence])

or

concat(Company, ',', -[Company sequence])

Depends if you want ascending or descending.

Hope this helps!

Not applicable
Author

Damn that was quick !

Thanks a lot !