# Query for nonexisting values

**URL:** <https://community.dynatrace.com/t/query-for-nonexisting-values/41757>\
**Category:** DQL\
**Tags:** dql, notebooks\
**Created:** [September 25, 2023, 10:49am UTC](https://community.dynatrace.com/t/query-for-nonexisting-values/41757 "2023-09-25T10:49:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![000panther](https://avatars.discourse-cdn.com/v4/letter/0/34f0e0/32.png) [@000panther](https://community.dynatrace.com/u/000panther)\
**Post date:** [September 25, 2023, 10:49am UTC](https://community.dynatrace.com/t/query-for-nonexisting-values/41757/1 "2023-09-25T10:49:39Z")

</div>

I want to find items where a specific field is not existing. How can I do that with DQL?

Something like

fetch events  
| filter myItem.nonexisting == null

---

<div class="post-metadata">

**Author:** ![000panther](https://avatars.discourse-cdn.com/v4/letter/0/34f0e0/32.png) [@000panther](https://community.dynatrace.com/u/000panther)\
**Post date:** [September 25, 2023, 10:50am UTC](https://community.dynatrace.com/t/query-for-nonexisting-values/41757/2 "2023-09-25T10:50:48Z")

</div>

A colleague pointed out the isNull function to me. The syntax is

fetch events  
| filter isNull(myItem.nonexisting)

And this also works when the field does not exist.
