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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Top 10 values to show in the Pie Chart

Hello Friends,

How to display the top 10 values only in the Pie Chart like

Dimention as Customer and the expressions like as in the below in a cyclic Group

=Sum(Amount),.

=Count (Number of Pieces)

=Count (Lines)

Any used expamples will help me lot.

Regards

Chriss

5 Replies
khadeer
Specialist
Specialist

Write in calculated dimension

aggr(

if(rank(total sum(amount))<=10,Customer))

Not applicable
Author

Or if you got QV 11 installed you can under the Chart Properties go to the tab Dimension Limits and tic the box "Restrict which values are displayed using the first expression" and then choose the option Show only...

er_mohit
Master II
Master II

hiii

see the attached file

Not applicable
Author

hi

see the attachement

or

you can try this

if(Aggr(Rank(Sum(Amount)),customer) <= 10, Sum(Amount))

rank(sum(Amount)) calculate the rank for overall dimension..

so only it shows first ten ranking values n for others it display null..

Not applicable
Author

Hi QV Learner,

Thanks for your help, I can do this for a single expression suppose I have only amount but I have number of pieces and Lines are in my cyclic expression.

Please let me know how this possible.

Regards

Chriss