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: 
zagzebski
Creator
Creator

Set Analysis - Thresholds

I don't even know if this is possible. I need to find how much makes up the top 80% in sales and the count of how many clients by sales person:

SalespersonClientSales
SueA35
SueB55
SueC75
SueD70
SueE80
DaveF20
DaveG60
DaveH100
DaveI140
DaveJ180

RESULTING OBJECT:

80% Sale Threshold# of Clients making up 80%
Sue2254
Dave4203

For Sue Client's E,D,C,and B are her top clients-making up 80% of her sales

for Dave clients J, I, and H are his top clients making up 80% of his sales

Is it possible to write set analysis that would add up what80% of salespersons business is and how many client made up that 80%?

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The only way I know of is to do some calculations in the script first. See attached example.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The only way I know of is to do some calculations in the script first. See attached example.


talk is cheap, supply exceeds demand
zagzebski
Creator
Creator
Author

Thanks! Good to know I need not spend alot of time trying to figure out some set analysis.

One quick follow up - if I added the extra complexity of trying to compare the clients (that made the upper 80%) to that clients prior year amount is that even possible? (for example in the example above if I selected on 80% I would want Sues clients (for example) E,D,C, and B for the prior year).  Or am I asking for a nightmare..

zagzebski
Creator
Creator
Author

I have never used fractile - but is there any way to incorporate that?