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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
AdrianS1
Contributor III
Contributor III

TOP Products Sales,Ranking

Hi, i have a problem, 

I want to pick top and bottom brands by sales like in this video (8:57) :https://www.youtube.com/watch?v=v6X_gL2ejU4

 

I can't get 5 product by this  function:

='(  ' & CONCAT(if(aggr(rank(sum([NET_SALES])), BRANDS) <= 5, BRANDS),'|') & '  )'

because its giving me only 4 products, my 5th product from rank is Brand called ('xxx yyy') but another Brands are also called by for example ('xxx zzz'),('xx') and I think its a problem because Qlik cant filter this only one product called ('xxx yyy')

 

How can I modify this functions which find me a exact matching value not similar to this value.

In a simple way it should like this ='(  ' & CONCAT(if(aggr(rank(sum([NET_SALES])), BRANDS) <= 5, 'BRANDS'),'|') & '  )'  to find the same result not the similar result. 

I hope you understand this case 🙂 

 

SIMPLE WAY: HOW I CAN WRITE IN FUNCTTION ('xxx'|'yyy'|'zzz'|'ddd'|'pppp')? I cant do '(' & '''&BRAND&''' &'|' ... etc)

Labels (2)
1 Reply
daturpin
Partner - Creator II
Partner - Creator II

Have you tried renaming that fifth brand?