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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

WHy is this Rank function used ??

HEy,

WHy is this Rank function used ??

Just for ranking the values from high to low? Is it so ?

Thanks

Labels (1)
2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The rank function is used to calculate the rank of a value in a list of values returned by an expression. See the help file for details.


talk is cheap, supply exceeds demand
its_anandrjs
Champion III
Champion III

Hi,

Rank function is use to give Rank to the expression or Metric values

Ex:-

LOAD * INLINE [

    Item, Sales

    A, 500

    B, 300

    C, 100

    D, 150

    E, 600

];

If you create the straight chart

Dim:- Item

Expre:- Sum(Sales)

Expre:- Rank(Sum(Sales))

By this you can rank the expression

Rank3.PNG

And when you get this details you can find min or max values or Top N values.

Regards

Anand