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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
mohfaraj
Contributor II
Contributor II

Top 10 in an Expression

Hallo all together,

I want to see the top 10 (Costumers) in total Volume. I want to integrated as an example in this expression (=sum ({$<Jahr={2017}>}[_LE_MainVolume]))

I tried to make a set analysis for this expression just to add choosing the top 10 main volume of the customer in 2017..... Can you help People ?

Thanks

Mo

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

I think it should be this

=Sum({$<Jahr = {2017}, Costumers = {"=Rank(Sum(_LE_MainVolume),4) <11"}>} [_LE_MainVolume])

View solution in original post

4 Replies
vishsaggi
Champion III
Champion III

May be this?


= sum ({$< Jahr={2017}, [_LE_MainVolume] = {"=Rank(Sum(_LE_MainVolume),4) <11"}  >} [_LE_MainVolume])

sunny_talwar
MVP
MVP

I think it should be this

=Sum({$<Jahr = {2017}, Costumers = {"=Rank(Sum(_LE_MainVolume),4) <11"}>} [_LE_MainVolume])

mohfaraj
Contributor II
Contributor II
Author

this was correct thanks. One question, for stands the (4) in the equation

mohfaraj
Contributor II
Contributor II
Author

for what *