# Filter by exception class

**URL:** <https://community.dynatrace.com/t/filter-by-exception-class/43082>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed, multidimensional-analysis\
**Created:** [December 7, 2023, 3:11pm UTC](https://community.dynatrace.com/t/filter-by-exception-class/43082 "2023-12-07T15:11:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [December 7, 2023, 3:11pm UTC](https://community.dynatrace.com/t/filter-by-exception-class/43082/1 "2023-12-07T15:11:59Z")

</div>

Hello,

I’m trying to create a metric with the number of requests that do not have a certain exception

in the MDA i can only find these filters in the exceptions :

 ![SOBE_0-1701961821860.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/1/019adf6e6eb48969c669868e2dd3680aa884ae50.png)

Is there any way to negate in the filter ? (ex : exeptions that do not contain “xxx”)

I’m a managed user btw

Thanks

---

<div class="post-metadata">

**Author:** ![rkdy](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rkdy](https://community.dynatrace.com/u/rkdy)\
**Post date:** [December 7, 2023, 10:04pm UTC](https://community.dynatrace.com/t/filter-by-exception-class/43082/2 "2023-12-07T22:04:51Z")

</div>

You’ll want to use the Calculated service metric page in the global settings, as that offers more options in the conditions section:&nbsp;[Calculated metrics for Services — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/calculated-service-metric#create-a-metric)

 ![rkdy_0-1701986638259.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/1/d1a97442afa17e81794a076004e1b71ed720d15e.png)

 ![rkdy_1-1701986650640.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/a/7a73d35745914f47a78e1652e4d6d122a1fa8749.png)

---

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [December 8, 2023, 2:18pm UTC](https://community.dynatrace.com/t/filter-by-exception-class/43082/3 "2023-12-08T14:18:10Z")

</div>

Thank you that was very helpful !
