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: 
Anonymous
Not applicable

Sorting the stack in a stacked bar chart in Qlik Sense

I have a stacked bar chart of employees and percentage of products they've sold.  The bars are the employees sorted in alphabetical order.  How do I sort the stacks in the bar by percentage each product was sold?

I have found solutions for this in Qlik View, but I need the solution for Qlik Sense.

10 Replies
emillanc
Contributor II
Contributor II

It's possible to sort the stacked bar chart by the measure. Follow these steps:

- Change the Sorting option of the first dimension to Custom.

- Enable the option Sort by expression.

- Use the same expression as in your measure as sorting expression.

- Change the sorting order to Descending.