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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sivarajs
Specialist II
Specialist II

Exclude Selection using set

Hi,

I am using set to exclude some fields selection but its not working. My expression is like

Avg({$<A,B>}if(D ='Service' and C > aggr(NODISTINCT fractile(C, 0.05), A) and C< aggr(NODISTINCT fractile(C, 0.95), A),C))

I f i select A its getting changed

Regards,

Sivaraj

2 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

HI Sivaraj,

Try this code

Avg({$<A=,B=>}if(D ='Service' and C > aggr(NODISTINCT fractile(C, 0.05), A) and C< aggr(NODISTINCT fractile(C, 0.95), A),C))

Deepak

sivarajs
Specialist II
Specialist II
Author

i have already tried that but it didn't work