Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
wanyunyang
Creator III
Creator III

Get the top rank retailer

Hi guys,

I want to get the top rank retailer in QLIK SENSE. My function is: IF(AGGR(RANK(SUM(orderTotal)),Retailer)=1,Retailer). But it shows nothing. How should I modify my function?

Thanks for help!

1 Solution

Accepted Solutions
sunny_talwar

May be try this

Concat(DISTINCT {<Retailer = {"=Rank(Sum(orderTotal)) = 1"}>} Retailer)

View solution in original post

3 Replies
sunny_talwar

May be try this

Concat(DISTINCT {<Retailer = {"=Rank(Sum(orderTotal)) = 1"}>} Retailer)

wanyunyang
Creator III
Creator III
Author

I did Only(IF(AGGR(RANK(SUM(orderTotal)),Retailer)=1,Retailer)) and it works... Why does this function need ONLY?

sunny_talwar

no idea... can you share a sample?