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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
jessica_webb
Creator III
Creator III

Ranking expression value

Hi, I have a table with a few dimensions, and several expressions.

But, a basic version of the table is:

DIM - IDDIM - TypeEXP - Avg(Score)RANK
123A15.31/8
123B16.52/8
123C28.56/8
456A173/8
456B71.28/8
789A215/8
234A194/8
234B37.57/8

What I would like, is another expression that ranks the expression value, and tells me how many places it's out of - so the fourth column.

How would I do this?

1 Solution

Accepted Solutions
sunny_talwar

My bad, try this

Rank(TOTAL Avg(Score)) & '/' & Count(TOTAL ID)

View solution in original post

5 Replies
sunny_talwar

May be this

Rank(Avg(Score)) & '/' & Count(TOTAL ID)

jessica_webb
Creator III
Creator III
Author

No, that just gives me 1/8 for every value...

sunny_talwar

My bad, try this

Rank(TOTAL Avg(Score)) & '/' & Count(TOTAL ID)

sunny_talwar

Or this

(Count(TOTAL ID) - Rank(Avg(Score)) + 1) & '/' & Count(TOTAL ID)

jessica_webb
Creator III
Creator III
Author

Perfect - thank you very much