Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Top 10 Count of Category

Hi Team,

Like we do in Bar Charts - sort Descending on Count of Calls & in presentation tab, restrict only top 10 counts with "Max Visible Number".

I want to do the same in Pivot and Straight Chart.

How to achieve this? Pls Suggest!!

3 Replies
tabletuner
Creator III
Creator III

On the sort tab choose sort by expression and enter:




=
count(fieldname)


and choose descending.

In the presentation tab choose your max amount.





Not applicable
Author

Create a Calculated dimension

if(aggr(rank(expression),dimension)<=10,dimension)

If your dimension is product then your calculated dimension would be

if(aggr(rank(sum(val)),product)<=10,product)

Make sure the expression is sorted desc by y value and that you suppress when value is null



Not applicable
Author

Thanks carneyfm.

Its working.