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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

IF (aggr(rank( sum(Value) ,0) , Value )> 5 , sum(Value) )

explination pls  how it is working 

IF (aggr(rank( sum(Value) ,0) , Value )> 5 , sum(Value) )     

1 Reply
Not applicable
Author

IF (aggr(rank( sum(Value) ,0) , AnyDimension)> 5 , sum(Value) )    


It makes the sum of value only if its rank (of the sum(Value) aggregated for AnyDimension) is >5 (ex. 6th,7th,...)