Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
dineshm030
Creator III
Creator III

Rank Sum Issue

Hi All,

The rank is not coming for remaining region while selecting Punjab region. I want to show the rank based on region brand groups.

Expression: 

Aggr(Rank(Sum({<[Brand groups]>}NVALUE),1,1),[Brand groups])

,

6 Replies
thevingo
Creator
Creator

try

=Aggr(Rank(TOTAL Sum({<[Brand groups]=, Region=>} NVALUE),1,1),[Brand groups])

dineshm030
Creator III
Creator III
Author

its not working... i want to show the rank all region.

elmardi0107
Contributor
Contributor

Hi Dinesh,

You have just to reverse the formula as below:

Rank(Aggr(sum),city,Produit))

Rank before Aggr.

Hope that's help.

sunny_talwar

May be this

Only({<Region, [Brand groups]>}Aggr(Rank(Sum({<Region, [Brand groups]>}NVALUE),1,1),[Brand groups]))

olivierrobin
Specialist III
Specialist III

hello,

and with TOTAL <region> ?

elmardi0107
Contributor
Contributor

Hi Dinesh,

You have just to reverse the formula as below:

Rank(Aggr(sum),city,Produit))

Rank before Aggr.

Hope that's help.