Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

greg_buron
New Contributor

Average excluding outliers using set analysis

Hi - I am trying to find the average call duration "CalldurationSeconds" excluding outliers.  Similar to the trimmed mean function in excel.  I believe that using set analysis would be the best bet but open to other suggestions.  Thanks!

this is the current expression for the simple average:

Avg(CallDurationSeconds)

1 Reply
giovanneb
Contributor II

Re: Average excluding outliers using set analysis

It is possible to use an aggr function for aggregation, it follows

AVG (aggr (avg (CalldurationSeconds), ID))

Best Regards

Community Browser