Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.