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: 
nkosinde13
Creator
Creator

Rank top N on a chart

Good day

 

Please advise how do I rank top clients, from top sales to bottom? I don't any specific number like Top 10, I want to rank all clients on the chart.Below is the Calculated dimension, so I want to replace the part where it displays only top 3, with all clients.

=Aggr(If(Rank(IF(
Num((Sum({<[Actuals Type] = {'TotalActual'},[Fin Year] = {"<$(vMaxFinYear)>=$(vMinFinYear)"}>} [Total Price])
- Sum({<[Actuals Type] = {'TotalActual'}, Section = {'OPIs'},[Fin Year] = {"<$(vMaxFinYear)>=$(vMinFinYear)"}>} ecamount)) / $(ThouMenu),'# ##0')
= 0,
Num((Sum({<[Actuals Type] = {'TotalActual'},[Fin Year] = {$(vMaxFinYear)},Closed = {1}>} [Total Price])
) / $(ThouMenu),'# ##0')
)) <=3, ClientName), ClientName)

Thanks and regards

Matlotlo

Labels (1)
1 Solution

Accepted Solutions
Brett_Bleess
Former Employee
Former Employee

I believe the following two Design Blog posts may get you what you need on this one:

https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497

https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.

View solution in original post

2 Replies
Brett_Bleess
Former Employee
Former Employee

I believe the following two Design Blog posts may get you what you need on this one:

https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497

https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
nkosinde13
Creator
Creator
Author

aaah this is more than useful, thank you very much 😃