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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Top x% of values

Hi,

I have a straight table as below, where ID, Name and Score are dimensions.

How do i:

1. Create an expression where, i can extract the scores more than 45 marks?

2. Create an expression where, only the top 70% is visible?

thanks!

<Dimension><Dimension><Dimension><Expression>
IDNameScore

If(match(score, >45), score, NULL())

Top 70% visible?

1A100100
2B9999
3C9898
4D9797
5E9696
6F45(Hidden)
7G42(Hidden)
7 Replies
sujeetsingh
Master III
Master III

On expression Use Conditional option and Write the condition you want.

Or the one i used in the sample below

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

if(score>45,score) should work as expression. If you're using QV11 you can use dimension limits to show the top 70%. You can configure this on the Dimension Limits tab of the properties window by selecting the third option and choose 70% relative to the total.

comm84305.png


talk is cheap, supply exceeds demand
Not applicable
Author

Yes, i am V11.

How do i do in condition?

Under Dimension Limits Tab

score -> restrict which values are displayed using the first expression

Show only values that are:

less than or equal to 70% relative to the total?

But it does nto seem to work?

Sorry if the question might be quite basic.

Not applicable
Author

Thanks much!

Possible to copy and paste the condition in text?

Not applicable
Author

For the %, still does not seem to work... i guess i will stick with the absolute score then...

Let me know if there are other ways?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached example.


talk is cheap, supply exceeds demand
Not applicable
Author

Possible to copy and paste the steps in text?

sorry.