Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
QlikSense_Best
Contributor
Contributor

Sorting Bar Chart based on Custom Dimension

Hi, I'm trying to sort my bar chart with a custom expression.

I understand I can do something like this for sorting a dimension:

Match(brand, 'B', 'E', 'F', 'A', 'C', 'D', 'Others')

But what do I do when brand is a custom dimension (Created in Master Items) or a created dimension within Qlik?

Labels (3)
2 Replies
chaorenzhu
Creator II
Creator II

Suggest you use dual() in load script to assign numerical value associated to the string value, then sort according to the numerical value

vinieme12
Champion III
Champion III

You can sort master dimensions   the same way as any other dimension in a chart

Toggle Sort to Custom  , then choose sort by expression

vinieme12_0-1673835872849.png

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.