Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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

=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

=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