# Handle Tag Values in Dynatrace Query Language (DQL)

**URL:** <https://community.dynatrace.com/t/handle-tag-values-in-dynatrace-query-language-dql/40061>\
**Category:** DQL\
**Tags:** dql\
**Created:** [June 5, 2023, 10:06am UTC](https://community.dynatrace.com/t/handle-tag-values-in-dynatrace-query-language-dql/40061 "2023-06-05T10:06:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![paolo\_fumanelli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/paolo_fumanelli/32/1037_2.png) [@paolo\_fumanelli](https://community.dynatrace.com/u/paolo_fumanelli)\
**Post date:** [July 4, 2023, 12:11pm UTC](https://community.dynatrace.com/t/handle-tag-values-in-dynatrace-query-language-dql/40061/5 "2023-07-04T12:11:15Z")

</div>

Hi, thanks for hint. I tried your solution at the beginning but it does work if the tag is not in the key:value format.

Since in my case “myTag” key can assume several different values, if I use matchesValue(tags, “myTag”) I wont’ get any result.

It will provide results only by specifiying also the value, like

| filter matchesValue(tags, “myTag:myTagValue”)

---

_[View the full topic](https://community.dynatrace.com/t/handle-tag-values-in-dynatrace-query-language-dql/40061)._
