# Adding a filter in timeseries gives strange effect, is it a bug or is it a feature?

**URL:** <https://community.dynatrace.com/t/adding-a-filter-in-timeseries-gives-strange-effect-is-it-a-bug-or-is-it-a-feature/51950>\
**Category:** DQL\
**Tags:** dql, dynatrace-managed\
**Created:** [June 5, 2025, 6:22am UTC](https://community.dynatrace.com/t/adding-a-filter-in-timeseries-gives-strange-effect-is-it-a-bug-or-is-it-a-feature/51950 "2025-06-05T06:22:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![krzysztof\_hoja](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/krzysztof_hoja/32/34625_2.png) [@krzysztof\_hoja](https://community.dynatrace.com/u/krzysztof_hoja)\
**Post date:** [June 5, 2025, 6:58pm UTC](https://community.dynatrace.com/t/adding-a-filter-in-timeseries-gives-strange-effect-is-it-a-bug-or-is-it-a-feature/51950/3 "2025-06-05T18:58:50Z")

</div>

The correct syntax looks like this and every thing works even if there is no common subset between data for 2 timeseries. Please use _ **filter:** _ clause inside regular brackets (not curly).

 ![krzysztof_hoja_1-1749149782598.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/3/0320881b9932a83f257f21891daf629a216bac08.png)

re: second query. Syntax is incorrect. This query should not even execute:

 ![krzysztof_hoja_0-1749149660315.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/e/5e162380a13ffd738641a0413577b380349f60b1.png)

---

_[View the full topic](https://community.dynatrace.com/t/adding-a-filter-in-timeseries-gives-strange-effect-is-it-a-bug-or-is-it-a-feature/51950)._
