# Variables: Assign Human-Readable Text to Variables

**URL:** <https://community.dynatrace.com/t/variables-assign-human-readable-text-to-variables/51641>\
**Category:** DQL\
**Tags:** dql, variables, dashboards\
**Created:** [May 14, 2025, 2:32pm UTC](https://community.dynatrace.com/t/variables-assign-human-readable-text-to-variables/51641 "2025-05-14T14:32:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VictorRuiz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/victorruiz/32/32860_2.png) [@VictorRuiz](https://community.dynatrace.com/u/VictorRuiz)\
**Post date:** [May 14, 2025, 2:32pm UTC](https://community.dynatrace.com/t/variables-assign-human-readable-text-to-variables/51641/1 "2025-05-14T14:32:42Z")

</div>

Hello everyone,

Is it possible to put in a variable a human compressible text instead of a default value? I have a variable that uses the name of the metric, my question is if it is possible to replace the actual value of the metric by one that anyone can understand:

dt.host.cpu.usage = % CPU used  
dt.host.memory.usage = % Memory used

Thanks in advance

Victor

---

<div class="post-metadata">

**Author:** ![GerardJ](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gerardj/32/154_2.png) [@GerardJ](https://community.dynatrace.com/u/GerardJ)\
**Post date:** [May 14, 2025, 2:50pm UTC](https://community.dynatrace.com/t/variables-assign-human-readable-text-to-variables/51641/2 "2025-05-14T14:50:24Z")

</div>

Hi  
For such case,&nbsp; I would use 2 variables : 1 “visible” with readable choices and 1 “hidden” with the metric name to be used in the DQL tile  
the second variable value depending on the choice of the first one

 ![GerardJ_0-1747234109128.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/9/292159bc866d57578a4405739e003ff95f9324d8.png)

---

<div class="post-metadata">

**Author:** ![VictorRuiz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/victorruiz/32/32860_2.png) [@VictorRuiz](https://community.dynatrace.com/u/VictorRuiz)\
**Post date:** [May 20, 2025, 11:16am UTC](https://community.dynatrace.com/t/variables-assign-human-readable-text-to-variables/51641/3 "2025-05-20T11:16:13Z")

</div>

Thats works,

Thanks a lot

Victor
