# DQL/DPL question/puzzle

**URL:** <https://community.dynatrace.com/t/dql-dpl-question-puzzle/49524>\
**Category:** DQL\
**Tags:** dql, notebooks, dpl\
**Created:** [December 31, 2024, 10:30am UTC](https://community.dynatrace.com/t/dql-dpl-question-puzzle/49524 "2024-12-31T10:30:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [January 1, 2025, 8:59pm UTC](https://community.dynatrace.com/t/dql-dpl-question-puzzle/49524/2 "2025-01-01T20:59:16Z")

</div>

[@henk\_stobbe](https://community.dynatrace.com/user/11427)&nbsp;yes, this is one of the solutions. you can also use a combination of expand / parse / filter - for example how get the dt.owner tag value:

```markup
fetch dt.entity.host
| fieldsAdd tags
| expand tags
| parse tags, """((LD:tag (!<<'\\' ':') LD:value)|LD:tag)"""
| fieldsAdd dt.owner = if(isNotNull(value), value)
| filter tag=="dt.owner"
| fieldsRemove value, tags, tag

```

---

_[View the full topic](https://community.dynatrace.com/t/dql-dpl-question-puzzle/49524)._
