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

largest 5 values in staright table

Hi

i have  a straigt table where i want to display largest 5 values

when i'm making the dimension limits to largest 5 its not working

and the values are showing like this

   

regioncountrytotal
aIND22
bVNM33
cBGD2
cVNM34
dARE2
dBRN12
dCHN8
dIND533
dMYS12
fLKA84
fMYS232
fSGP

2

i want the output as below

   

aIND22
bVNM33
cVNM34
dIND533
fMYS232
20 Replies
harishkumarg
Creator III
Creator III

The above solution worked for you?

Regards

Harish

Not applicable
Author

Hi hariah i will try it and let u know

Anonymous
Not applicable
Author

Hi John,

Try following,

Dimension1-- region

Dimension2-- country

Expression--max(aggr(sum(total), region)).

Its working for me and giving following output after setting dimension  limit 5

regioncountrymax(aggr(sum(total), region))
aIND22
bVNM33
cBGD36
dARE567
fLKA318

Thanks,

hemachandran
Partner - Creator
Partner - Creator

Hi cena,

Try this expression,

=if(max(total) = max(total <region> total),max(total <region> total))

beck_bakytbek
Master
Master

Hi John,

try this:

Calculated Dimension: if(aggr(rank(sum(Total)),Country)<=5,Country, Null())

and dont Forget to check: Suppress When Value is Null

i hope that helps

beck

Not applicable
Author

Hi beck it solved my problem to some extent

Still im facing some issue

Not applicable
Author

Hai beck it resolved thank you so much u saved my time

Not applicable
Author

Have you considered what should happen if the same regions have the same highest value?

Not applicable
Author

No