# Dater Explorer Code Query - filter synthax

**URL:** <https://community.dynatrace.com/t/dater-explorer-code-query-filter-synthax/32109>\
**Category:** Automations\
**Tags:** data-explorer, slo\
**Created:** [July 14, 2021, 3:44pm UTC](https://community.dynatrace.com/t/dater-explorer-code-query-filter-synthax/32109 "2021-07-14T15:44:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [July 14, 2021, 3:44pm UTC](https://community.dynatrace.com/t/dater-explorer-code-query-filter-synthax/32109/1 "2021-07-14T15:44:30Z")

</div>

I’m trying to “code” a metric query that would only return data points that have a certain response time and count them. If I understand the filter syntax correct then the “series” condition in the :filter transformation should allow me to do that, right?

Example:  
This should return the number of requests that are faster than 300ms?

```markup
builtin:service."keyRequest".response.server:filter(series(avg,lt,300000)):splitBy():count

```

But this gives an error:

```markup
Illegal transform operator: Usage of :filter(value(...)) requires a previous value extraction.

```

What exactly is meant by this error, what value extraction?

Does anyone have an example? I’d like to use this for an SLO definition.

---

_[View the full topic](https://community.dynatrace.com/t/dater-explorer-code-query-filter-synthax/32109)._
