Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
manoranjan_d
Specialist
Specialist

sort in stacked bar

hi all,

how to sort the stacked bar as per the value

below is the data

dept           student

IT                100

CSE             200

Robotics          300

CSE               500

Robotics          50

robotics          150

now when i used dimension as Dept and calcualted dimension as 1 and student count as expression i m getting the output , but values are  not sorted even when i used sorting from low to high

how to do that, please help me

25 Replies
manoranjan_d
Specialist
Specialist
Author

now for using year i will give an example

   

yearstudent malestudent female
200920
200910
200930
200940
2009100
2009200
2009 200020
2009 10
2009 200030
2009 200940
2009 3000100
2009 200
2009 20020
2009 10
2009 200030
2009 40
2009 30000100

now i want stack bar so i used the first dimension as calculated dimension as 1 and second dimension as year and then in expression  first expression as count of (student male) and second expression i used count of student female

now i want to sort these this low to high of these two expression how to do this

manoranjan_d
Specialist
Specialist
Author

hi naga and gowtham

pls help me on this

gautik92
Specialist III
Specialist III

may be like this

manoranjan_d
Specialist
Specialist
Author

i want the bar in stack

gautik92
Specialist III
Specialist III

this one

manoranjan_d
Specialist
Specialist
Author

ur file is not sorted  and its in stack bar only, but sorting is not happening