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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
bbmmouha
Creator
Creator

rank but in the same dimension

i have a dimension called part i want the rank of parti in the same dimension called lib_reg

any help

thank you community

5 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I'm not sure I understood your request properly... If you want to create a dimension that ranks the products, you can do it using the Advanced Aggregation function AGGR, like this:

AGGR( rank(sum([NBR_VOTE])), Product)

I'm not sure what you mean when you say "in the same dimension". I suppose you could create a "Dual" value, with the Product name as a text and its rank as a number:

AGGR(

     Dual( Product,

               rank(sum([NBR_VOTE]), 4)

, Product)

Notice the second parameter "4" in the Rank() function - you need to add it, in order to ensure that each product receives a unique rank number.

cheers,

Oleg Troyansky

Check out my new book QlikView Your Business - available to pre-order on Amazon with a 33% discount.

Ask me about Qlik Sense Expert Class!
bbmmouha
Creator
Creator
Author

thanks for your reply

what i want is ,in the exemple it ranks parti in the lib_reg dimension , rank selected "parti" in the sale region

for exemple if i select parti 1 i shoud have it s rank in region 1

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I think this blog post on my website should help your need:

Q-Tip #8 – Ranking the Unrankable | Natural Synergies

cheers,

Oleg Troyansky

Ask me about Qlik Sense Expert Class!
bbmmouha
Creator
Creator
Author

thanks a lot

but if i explain more

this the situation i want rank(sum(sales)) of the product in the area

bbmmouha
Creator
Creator
Author

Header 1Header 2Header 3Header 4Header 5