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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Bansal_Kumar
Contributor II
Contributor II

Sorting data based on sum of values in 100% stacked bar chart

Hi Experts,

I have a chart where I have calculated 100% stacked bar chart based on Items and Supplier and in the measure 

SUM(Amount)/SUM(TOTAL <ITEM> Amount). but the problem is it is not sorted based on the sum(amount).

I want the values to be displayed in DSC order.

 

Please help.

Labels (1)
3 Replies
Usama
Creator
Creator

Hi,

Go under the Sorting section (below Data section) then uncheck auto sorting and make the sorting in DSC order.


Thanks,
Usama

From Nothing - To Something - To Everything
Bansal_Kumar
Contributor II
Contributor II
Author

I Did that, Its not working.

Kushal_Chawda

@Bansal_Kumar  You need to perform sort by expression for your dimension "Item". Remove  sort option for other dimension. Check the below

Annotation 2020-09-06 221130.png