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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Avg of Top 10 values

Hi all ,Gysbert Wassenaar

I am struck with a task. All I want is to show the  Avg of top 10 score values whose sentiment is positive in a text box.

In other words , I have Klout count  and sentiment . For sentiment 'Postive' , I need to calculate average KLOUT value of top 10 Klout counts.

Sample data is attached.

Any help would be appreciated.

Thanks in Advance

Best Regards,

Susvith

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

=avg({<screenname={"=rank(sum({<sentiment={'Positive'}>}klout_count))<11"}, sentiment={'Positive'}>}klout_count)


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

=avg({<screenname={"=rank(sum({<sentiment={'Positive'}>}klout_count))<11"}, sentiment={'Positive'}>}klout_count)


talk is cheap, supply exceeds demand
Not applicable
Author

Thank u so much Brother.

Thanks a ton man