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

Bar chart conditions for ranking

Hi,

i have the counties data on x axis and sales on yaxis .

requirement is retrieving the sales data whose rank is less than particular country.

suppose display countries sales whose rank less than 'india'.

pls helpme asap where to write condition and what to write

regards

mahesh t

4 Replies
MayilVahanan

Hi

Can you provide me a sample file?

may be try like this , not sure...

=If(Rank(Sum(Sales)) < Rank(Sum({<Country = {'India'}>}Sales)), Sum(Sales))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thank u so much

Not applicable
Author

Ok but i am getting erros can pleas try again fo rme >> check the operator once these thing i am new to set analysis

MayilVahanan

hi

can you post a sample?

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.