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

sort is not working in QV 10 of straight table

sort is not working in QV 10 of straight table

have table like this.  

i used rank(score) to get top 10,  but when the score are the same, i want to sort by <# of surveys> by dec,  i do not know how to achieve it

for example:

D /H /A all got 4.92, but i want to sort their rank by # of surveys

Rank   Center   Name overall score   # of surveys  
1Ja4.9515 
2SD 4.9220 
3CH 4.9217 
4JA4.9226 
5SRo4.9119 
6JLy4.9021 
7SSi4.8720 
8-9CBr 4.8515 
8-9JHJa 4.8515 
10SEs 4.8416

overall score(average(score) and # of surveys (count(suvery) is used in expressions of this straight table

11111111.JPG

# of surveys (count(suvery) is used as same with overallscore with Descending

fdggdfgdg.JPG

5 Replies
Not applicable
Author

and i have a caculated dimension,which will affect the sorting?

Not applicable
Author

Hi,

Can u share your qvw?

Regards

Apurva

sivarajs
Specialist II
Specialist II

just promote #of surveys to first position then order by desc

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Are you sure that the overall scores for D/H/A were all exactly 4.92, or is the the displayed value a rounding to 2 decimals? It could be that the value of A is not exactly the same as D and H (eg 4.917 vs 4.92)

Regards

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Do you have any disabled expressions and then enabled expressions after them?  I have found when this happens sorting does not always work.  Move all of the disabled expressions to the bottom of the expression list.

Looks like this...

exp1 enabled

exp2 disabled

exp3 enabled

Change to...

exp1 enabled

exp3 enabled

exp2 disabled