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: 
QlikTonic
Contributor III
Contributor III

Ranking ?

Hi everybody,

I don't find the way to do something probably easy for you !

I have product categories and sales for 2 years and comparison. I need to add in my pivot table 2 informations :

1- the best client name

2 -  the number of product bought by the client

Ranking.PNG

i tried something with rank but no success for me

Someone could help me please ?

 

Thanks a lot

 

Chris

2 Replies
sunny_talwar

May be like this

Score

Max(Aggr(Sum(Score), Product, Client)

Best Client

FirstSortedValue(Client, -Aggr(Sum(Score), Product, Client))
QlikTonic
Contributor III
Contributor III
Author

Hi,

This is just perfect, thanks a lot and have a nice day

Chris