Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

show rank number within sum() conditions

Hi guys,

I want to show the ranknummer of severel sum() conditions like:

ID1Amount
111
222
233
344

IDrank(sum(Amount)) ???sum(Amount)
1311
2155
3244

What is the righr expression for this dimension ?

thx.

1 Solution

Accepted Solutions
awhitfield
Partner - Champion
Partner - Champion

HI Tobias,

I have attached a simple example with the ranking expression =Rank(sum(Amount))

HTH

Andy

View solution in original post

5 Replies
santhoo_san
Partner - Creator II
Partner - Creator II

=Rank(sum(Amount))

help4qv123
Creator II
Creator II

If u are using 'rank' it is showing u the position of your Dimension in respect to its value....

so if u dont need the sum value, just want to see the position then use rank.

awhitfield
Partner - Champion
Partner - Champion

HI Tobias,

I have attached a simple example with the ranking expression =Rank(sum(Amount))

HTH

Andy

Digvijay_Singh

Please check the attached qvw reflecting the same-

Not applicable
Author

thanks guys, I was trying with aggr() and rank() , but only rank(sum(x)) is enough. thanks yall