Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pie Chart Showing Just top 10 Values

Hi,

I am wondering how can I show on the graph top ten highest apps staff ID as below:

App IDStaff ID
1526471
3241252
4597781
15549714
13131312
64644661
4646461
6487474
7997975
3443431
43343412
6346463
45846946
5464641
45646476
4694764764
647646468
54646469
64464610
353313113
64216161
93101012
121985864
150870715
179755566
208640417
237525268
266410119
2952949610
3241798111
3530646612
3819495113
4108343614
4397192115
468604061
497488913
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Try to download latest version and install in your PC.

Click on Add Calculated Dimensions and add below

=IF(Aggr(Rank(COUNT(DISTINCT [App ID])),[Staff ID])<=10,[Staff ID])

Replace your field name Application_ID ....


Image.bmp

View solution in original post

22 Replies
MK_QSL
MVP
MVP

see attached

Untick show others in dimension limit

Not applicable
Author

Could you please paste screenshot as I cant download attached file

MK_QSL
MVP
MVP

Image.bmpHere we go

Not applicable
Author

Apologies, I could not see Untick show others in dimension limit. Could you pleae tell step by step as I am new in Qlikview. I want top 10 highest apps staff Ids from 1 to 10 please

ngulliver
Partner - Specialist III
Partner - Specialist III

Hi, Shoaib.

Go to Properties for your Pie Chart. Go into the Dimension Limits tab. There you can select limits button and show largest 10 values.

Regards,

Neil

MK_QSL
MVP
MVP

RIght Click - New Sheet Object - Chart and Select Pie Chart

Dimension = Staff ID

Dimension Limit

Tick Restrict Which Values are .....

Show Only Largest 10

Option

Show Others = UNTICK

Expression 1

COUNT(DISTINCT [App ID])

Expression 2

IF(COUNT(DISTINCT [Staff ID])=1,'ID '&[Staff ID])

Not applicable
Author

Thanks Manish, I don't have Dimensions limit tabl but have presentation tab and there can select Max no of slices. So I selcted 10 so think it's showing top 10 values

Not applicable
Author

Thanks Neil, I don't have Dimensions limit tabl but have presentation tab and there can select Max no of slices. So I selcted 10 so think it's showing top 10 values

MK_QSL
MVP
MVP

may be because you are using older version on QlikView...

There is another way to do the same by using calculated dimension.

In a dimension, instead of Staff ID, type below... Rest are the SAME...

You will get exact the same result ...

=IF(Aggr(Rank(COUNT(DISTINCT [App ID])),[Staff ID])<=10,[Staff ID])