> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elementary-data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# exclude_final_results

> [card] [Generate your anomaly test with Elementary AI](https://elementary-data.com/community)
>
> Let our Slack chatbot create the anomaly test you need.

`exclude_final_results: [SQL where expression on fields value / average]`

Failures in dimension anomaly tests consist of outliers in row count of each dimension.
Some dimensions may be considered insignificant compared to others, and you may prefer not to receive alerts for them.
With this parameter, you can exclude these dimensions from the results set and avoid such failures.

1. `value` - Max row count of a dimension during the detection period.
2. `average` - The average rows count of a dimension during the training period.

* *Supported values: valid SQL where expression on the columns value / average*
* *Relevant tests: Dimension anomalies*

```yml test theme={null}
models:
  - name: model_name
    config:
      elementary:
        timestamp_column: updated_at
    data_tests:
      - elementary.dimension_anomalies:
          arguments:
            dimensions:
              - device_os
              - device_browser
            exclude_final_results: 'value > 1000 or average > 10'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.