Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Sunil_Kenth
Former Employee
Former Employee

Ordering in a stacked bar chart

Is it possible to order the sections in a stacked bar chart?  I would like to display the largest sections at the bottom?

Here are the details of my chart:

Dimension1 = no_in_basket

Dimension2 = product group

Expression = count(distinct ReceiptID)

Sort order  = no_in_basket, Y Value Descending

Thanks for your help.

Sunil

Labels (1)
2 Replies
Miguel_Angel_Baeyens

Hi Sunil,

Assuming that what you have is a chart with one dimension and several expressions, and those expressions being stacked, you can sort by Y-Value and then promote and demote the expressions from the higher to the lower: the upper the expression is, the lower it appears in the Expressions tab in the chart properties.

Is that what you are looking for?

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

Sunil_Kenth
Former Employee
Former Employee
Author

Hi Miguel,

Thanks for your help on this and apologies for my delay in replying.  I only have 1 expression and 2 dimensions.  When i look at the sort tab in the properties of the stacked bar chart, i can only apply a sort on the these 2 dimensions.  The question i have is, what sort type do i need to apply in order for the stacks in the bar chart to display the highest amounts at the bottom of the bar and lowest amounts at the top of the bar.

Thanks,

Sunil