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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to calculate the rank..

Hi Everyone,

We have a table  as given below , I want to calculate state and country wise rank,

here we are taking two dimension Person and State , and in expression we have given =Sales,

=Rank(sum(Sales)) as State Rank and   =Rank(TOTAL(Sales)) as Country Rank.

Now its working but we want  state wise rank without passing the dimension of state in the chart.

Please anyone help me to do this .

Thanks in Advance..

PersonStateCountrySales
AUPINDIA100
BMPINDIA200
CMHINDIA300
DUPINDIA400
EMPINDIA500
FMHINDIA600
2 Replies
jerem1234
Specialist II
Specialist II

I think you have the same problem as:

Finding a Rank

Please find the some of the solutions there.

Hope this helps!

Anonymous
Not applicable
Author

thanks jerem.