<@U088WCP3B4P> how to add duplicate test to elemen...
# ask-elementary-ai
s
@kapa.ai how to add duplicate test to elementary.column_anomalies ?
k
A message from kapa.ai
New message text here
s
@kapa.ai does it have count ?
k
A message from kapa.ai
The
elementary.column_anomalies
test does not support a
count
monitor as part of its available metrics. According to the documentation, the supported monitors include metrics like
null_count
,
null_percent
,
min
,
max
,
average
,
sum
(opt-in for numeric columns), and others, but
count
is not listed as an available option for column-level anomaly detection [Column anomalies configuration](https://docs.elementary-data.com/data-tests/anomaly-detection-configuration/column-anomalies). If you need to monitor the count of values (such as the number of non-null entries or distinct values), you would need to use or derive other metrics, or create a custom test or model as a workaround.
s
for a duplicate in Id column how to add test?