Davis AI adding the timeseries value to a single cumulative value

Is it possible to configure a DQL that adds the timeseries value to a single accumulated value so that the alert is triggered when it reaches a specified maximum number?

@MARCOSSILVA Can you please elaborate a bit more on your requirement?  Davis anomaly detector expects a timeseries to trigger a alert, we might need to find a way to convert the accumulated value into a timeseries to trigger a alert . An example would be converting the count of log patten into timeseries

I need to create an alert for a metric that generates an alert when it reaches x requests during the day.

I tried using classic mode using fold, but it returns the message: Metric selector returns single datapoint only

builtin:service.requestCount.total:filter(and(or(in(“dt.entity.service”,entitySelector(“type(service),entityName(~“ExampleService~”)”))))):fold