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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Decile Analysis

Hello. I will like to ask how do i replace "aggr", if i want to perform decile analysis in the "load script" instead?

Typically, it will look like this

(For example)

=if(AGGR(sum(montant),compte_id, week)<=aggr(NODISTINCT fractile(TOTAL <week> aggr(sum(montant), compte_id, week),0.80),week),'P-80%',

if(aggr(sum(montant), compte_id, week)<=aggr(NODISTINCT fractile(TOTAL <week> aggr(sum(montant), compte_id, week),0.96),week),'M-16%','G-4%'))

Thanks!

0 Replies