# Metric event: value is not equal to

**URL:** <https://community.dynatrace.com/t/metric-event-value-is-not-equal-to/40996>\
**Category:** Alerting\
**Tags:** anomaly-detection, problems-classic\
**Created:** [August 2, 2023, 2:17pm UTC](https://community.dynatrace.com/t/metric-event-value-is-not-equal-to/40996 "2023-08-02T14:17:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohit\_bc](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rohit_bc/32/16258_2.png) [@rohit\_bc](https://community.dynatrace.com/u/rohit_bc)\
**Post date:** [August 2, 2023, 2:17pm UTC](https://community.dynatrace.com/t/metric-event-value-is-not-equal-to/40996/1 "2023-08-02T14:17:27Z")

</div>

While configuring the metric events, we can choose if the metric value is above or below a particular threshold.&nbsp;  
Is there a way or is there a plan to include a single condition - say- value is not equal to?

To give an example - if the value is always 1, an alert needs to be generated if the value goes to 2 or falls to 0. Instead of having two metric events for each case above and below the threshold, is there a way we can just use “if the threshold is not a particular value”?

In the new UI, this can be possible through workflows, I believe, but in case migration to the new platform isn’t possible, or in the case of managed customers, how do we go about setting this?

Is there a way this can be achieved with a single metric event, or is this suitable as a product idea?

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [August 2, 2023, 4:58pm UTC](https://community.dynatrace.com/t/metric-event-value-is-not-equal-to/40996/2 "2023-08-02T16:58:32Z")

</div>

Hello [@rohit\_bc](https://community.dynatrace.com/user/54894).

As you say in your post, you can only go above and below. Try explaining the use case in Product Ideas, I think equals and not equals cases should be added and it could be valuable to have those options.

---

<div class="post-metadata">

**Author:** ![rohit\_bc](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rohit_bc/32/16258_2.png) [@rohit\_bc](https://community.dynatrace.com/u/rohit_bc)\
**Post date:** [August 2, 2023, 5:07pm UTC](https://community.dynatrace.com/t/metric-event-value-is-not-equal-to/40996/3 "2023-08-02T17:07:45Z")

</div>

[https://community.dynatrace.com/t5/Product-ideas/Metric-event-alerting-condition/idi-p/219606#M39518](https://community.dynatrace.com/post/219606#M39518)&nbsp;- Product idea
