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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
JoseGarcia
Creator III
Creator III

Top ten selection

Hi everyone, 

trying to set a button that automatically will select my top ten Risk current values.
Using formula below but not working? 

Can anyone help?

=if(aggr(rank(sum(currentImpactValue)), Risk_ID)<=10, sum(currentImpactValue))

Thanks a million!

Jose

Labels (1)
1 Solution

Accepted Solutions
agigliotti
MVP
MVP

you could use the below calculated dimension:

=aggr( if( rank( sum(currentImpactValue) ) <= 10, Risk_ID), Risk_ID)

it'll give you the top 10 Risk_ID by currentImpactValue.

if you want to automatically select those values of Risk_ID dimension you can create a bookmark as 

=rank( sum(currentImpactValue) ) <= 10

and apply it as a button action.

i hope it can helps.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it

View solution in original post

4 Replies
agigliotti
MVP
MVP

you could use the below calculated dimension:

=aggr( if( rank( sum(currentImpactValue) ) <= 10, Risk_ID), Risk_ID)

it'll give you the top 10 Risk_ID by currentImpactValue.

if you want to automatically select those values of Risk_ID dimension you can create a bookmark as 

=rank( sum(currentImpactValue) ) <= 10

and apply it as a button action.

i hope it can helps.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
JoseGarcia
Creator III
Creator III
Author

thanks a million!!!
it worked 

jose

seemawadekar
Contributor III
Contributor III

Hi @agigliotti ,

Thanks for your answer. 

I have couple of filters - region and manager. Its works for few values of the filters but not for others. 

Can you help me resolve it?

Appreciate your help. 

 

agigliotti
MVP
MVP

Hi @seemawadekar ,

Please add more details about your request.

Best Regards

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it