# New to QlikView

If you’re new to QlikView, start with this Discussion Board and get up-to-speed quickly.

Announcements
cancel
Showing results for
Did you mean:
Contributor

## Ignore outliers in a graph

Hello everyone,

I'm wondering whether it is possible to ignore statistical outliers (fe. >2*standarddeviation (alternatives are welcome as well)) from the calculation of an performance graph.

Formula below currently calculates the blue line shown above.

Aggr(
If(volgnrhist = Max(TOTAL <[inkooporderregel link]> volgnrhist),Datum_uiterlijke_leverdatum),
))
-

It represents the absolute deviation in actual delivery date in comparisson to the last confirmed delivery date

 Line Confirmed delivery date Actual delivery date Absolute deviation 1 15-02-18 19-02-18 4 2 15-02-18 19-02-18 4 3 15-02-18 19-02-18 4 4 15-02-18 19-02-18 4 5 23-02-18 19-02-18 4 6 13-03-18 19-02-18 22

The Average deviation would be 7 and standarddeviation is 7.34. In case where I would see deviations exceeding the average by 2*standarddeviation as outliers I would see 22 as an outlier and the average with the outlier not taken into acoount is 4.

Thus, Can anyone help me to ingore outliers in such a calculation?

Note: I can not work with a min level or max level (it should be a statistical outlier)

Thomas

3 Replies
MVP

It might be easy to test out if you can share a qvw?

Contributor

Hereby a sample of the data needed.

MVP

Since I don't understand the data in your application, I am having a hard time knowing what the expected output needs to be for your sample... Would you be able to explain what rows needs to be excluded from the line chart based on Avg +/- 2 Stdev?