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: 
Anonymous
Not applicable

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
Creator II
Creator II

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

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

Best Regards