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: 
denispillay
Contributor III
Contributor III

stock bar chart sorting

x axis i  have warehouse name (W1, W2, W3, W4, W5,W6, W7)  

y axis i have stock% 

dimension in stock bar i  have [bussiness Unit] (L1, L2, L3,L4,L5,L6, N/A) 

 

i wanted to sort the stock bar chart highest to lowest 

for stock % calculation  i have used big code to get result , so when i am trying to sort , i am not getting proper result           

 

kindly guide me which code set analysis i should use to get desired output

2 Replies
cristianj23a
Partner - Creator III
Partner - Creator III

Hello, to order the percentage you must add the calculation to the "Order" section of the bar graph and put it ascending.
That calculation will be added to the first dimension which in this case is "Wharehouse"

Here an image.

cristianj23a_0-1691526349072.png

 

Regarts.

 

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.
denispillay
Contributor III
Contributor III
Author

thanks