# \#variables

**URL:** https://community.dynatrace.com/tag/variables/81.md

[Latest](https://community.dynatrace.com/latest.md) · [Categories](https://community.dynatrace.com/categories.md) · [Tags](https://community.dynatrace.com/tags.md)

---

## [Shift Time Frame In a Dashboard Using a Input Variable](https://community.dynatrace.com/t/shift-time-frame-in-a-dashboard-using-a-input-variable/56822)

<div class="topic-metadata">

**Author:** [@victor\_correa](https://community.dynatrace.com/u/victor_correa)\
**Replies:** 3\
**Last updated:** [September 14, 2026, 4:15pm UTC](https://community.dynatrace.com/t/shift-time-frame-in-a-dashboard-using-a-input-variable/56822 "2026-09-14T16:15:14Z")

</div>

I’m building a comparative transaction dashboard that should display day for the current time frame but also data shifted by a number of days that will be a variable input. The goal is to be able to show current data ve…

---

## [Gen3 Dashboard Variables - Display label different from value in Query-type variables](https://community.dynatrace.com/t/gen3-dashboard-variables-display-label-different-from-value-in-query-type-variables/56004)

<div class="topic-metadata">

**Author:** [@VictorRuiz](https://community.dynatrace.com/u/VictorRuiz)\
**Replies:** 1\
**Last updated:** [June 9, 2026, 1:08am UTC](https://community.dynatrace.com/t/gen3-dashboard-variables-display-label-different-from-value-in-query-type-variables/56004 "2026-06-09T01:08:08Z")

</div>

Hi Community, I’m working with Gen3 Dashboards and I’m facing a challenge with Query-type variables where I need to: Display a human-readable name to the user (e.g. SERVICE-BPM-Procesar) Use the entity ID in tile quer…

---

## [Set DQL Query in Dashboard Variable](https://community.dynatrace.com/t/set-dql-query-in-dashboard-variable/56038)

<div class="topic-metadata">

**Author:** [@gdalessandro](https://community.dynatrace.com/u/gdalessandro)\
**Replies:** 4\
**Last updated:** [May 29, 2026, 5:01pm UTC](https://community.dynatrace.com/t/set-dql-query-in-dashboard-variable/56038 "2026-05-29T17:01:06Z")

</div>

I am attempting to build my own custom SLO dashboard using the Grail SLOs we have defined in our environment. I am able to successfully query the SLO list using javascript and I can list out the metadata found on the SL…

---

## [Variable on timeseries aggregation in Dashboard](https://community.dynatrace.com/t/variable-on-timeseries-aggregation-in-dashboard/52745)

<div class="topic-metadata">

**Author:** [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Replies:** 3\
**Last updated:** [May 1, 2026, 5:35am UTC](https://community.dynatrace.com/t/variable-on-timeseries-aggregation-in-dashboard/52745 "2026-05-01T05:35:09Z")

</div>

Hello great Community of Dynatrace! I’m trying to achieve this goal and wonder if it is possible at all. I want to create a selectable variable from new dashboard drop down menù. The variable will allow only one selec…

---

## [Variable - free text box search working in array field](https://community.dynatrace.com/t/variable-free-text-box-search-working-in-array-field/54645)

<div class="topic-metadata">

**Author:** [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Replies:** 2\
**Last updated:** [January 15, 2026, 9:11pm UTC](https://community.dynatrace.com/t/variable-free-text-box-search-working-in-array-field/54645 "2026-01-15T21:11:23Z")

</div>

Hello Community, I’m looking for a simple way to define a variable as a free-text input that can be used to search within an array field. The array may contain any number of entries with key/value pairs composed of lett…

---

## [Configure Multi-Select Dashboard Variables That Populate Other Fields](https://community.dynatrace.com/t/configure-multi-select-dashboard-variables-that-populate-other-fields/52838)

<div class="topic-metadata">

**Author:** [@Edjumacator](https://community.dynatrace.com/u/Edjumacator)\
**Replies:** 6\
**Last updated:** [December 17, 2025, 1:40pm UTC](https://community.dynatrace.com/t/configure-multi-select-dashboard-variables-that-populate-other-fields/52838 "2025-12-17T13:40:55Z")

</div>

I have two multi-select variables, “Scope” which contains values used in dt.entity.host names and then “Hosts” which I would like to filter based on selected “Scope” values. Scope: Hosts: My goal would be to gat…

---

## [Use dynamic SRG variables in workflows](https://community.dynatrace.com/t/use-dynamic-srg-variables-in-workflows/53240)

<div class="topic-metadata">

**Author:** [@eranma](https://community.dynatrace.com/u/eranma)\
**Replies:** 1\
**Last updated:** [December 15, 2025, 10:45am UTC](https://community.dynatrace.com/t/use-dynamic-srg-variables-in-workflows/53240 "2025-12-15T10:45:15Z")

</div>

Hi, I’m creating an SRG to evaluate several metrics for my services. I’m using 2 variables: Tag & env. in the workflow i created to trigger the SRG, i want to have those variables dynamic and they will get their values …

---

## [Variables: Assign Human-Readable Text to Variables](https://community.dynatrace.com/t/variables-assign-human-readable-text-to-variables/51641)

<div class="topic-metadata">

**Author:** [@VictorRuiz](https://community.dynatrace.com/u/VictorRuiz)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 11:16am UTC](https://community.dynatrace.com/t/variables-assign-human-readable-text-to-variables/51641 "2025-05-20T11:16:13Z")

</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 …

---

## [Metrics as Variables](https://community.dynatrace.com/t/metrics-as-variables/51623)

<div class="topic-metadata">

**Author:** [@VictorRuiz](https://community.dynatrace.com/u/VictorRuiz)\
**Replies:** 2\
**Last updated:** [May 14, 2025, 8:26am UTC](https://community.dynatrace.com/t/metrics-as-variables/51623 "2025-05-14T08:26:27Z")

</div>

Hi all, I am creating a dashbord for capacity management but I would like the metric to be selectable by a variable. I currently have several variables created that allow me to filter by host entity tags and variables …

---

## [Apply Variables in Dynatrace DQL Filters Using matchesPhrase](https://community.dynatrace.com/t/apply-variables-in-dynatrace-dql-filters-using-matchesphrase/51263)

<div class="topic-metadata">

**Author:** [@pditmar2](https://community.dynatrace.com/u/pditmar2)\
**Replies:** 2\
**Last updated:** [April 16, 2025, 8:42pm UTC](https://community.dynatrace.com/t/apply-variables-in-dynatrace-dql-filters-using-matchesphrase/51263 "2025-04-16T20:42:49Z")

</div>

Summary: Wildcard searches in Dynatrace can be challenging because DQL requires string variables to be enclosed in quotation marks. To work around this, use the concat function to add wildcards around the variable. Examp…

---

## [Difference between 'segment' and 'dashboard variable'?](https://community.dynatrace.com/t/difference-between-segment-and-dashboard-variable/50650)

<div class="topic-metadata">

**Author:** [@waikeat\_chan](https://community.dynatrace.com/u/waikeat_chan)\
**Replies:** 2\
**Last updated:** [March 31, 2025, 6:53am UTC](https://community.dynatrace.com/t/difference-between-segment-and-dashboard-variable/50650 "2025-03-31T06:53:22Z")

</div>

Might be a silly question, but I think the answer to this question would help me strengthen my understanding of all the concepts in DT Grail. (and hence, the preparation for the certification later!) It seems to me ther…

---

## [Variables not working after 1.302 Dashboards update because spaces in values are no longer trimmed](https://community.dynatrace.com/t/variables-not-working-after-1-302-dashboards-update-because-spaces-in-values-are-no-longer-trimmed/48510)

<div class="topic-metadata">

**Author:** [@zietho](https://community.dynatrace.com/u/zietho)\
**Replies:** 0\
**Last updated:** [October 23, 2024, 3:38pm UTC](https://community.dynatrace.com/t/variables-not-working-after-1-302-dashboards-update-because-spaces-in-values-are-no-longer-trimmed/48510 "2024-10-23T15:38:31Z")

</div>

Why? We introduced a breaking change to make variable value replacements more predictable and less “bug/error” prone. What changed? Previously, spaces were automatically trimmed for variable values for CSV and Code v…

---

## [Return Multiple Items from Variables in Dynatrace DQL Dashboards](https://community.dynatrace.com/t/return-multiple-items-from-variables-in-dynatrace-dql-dashboards/48284)

<div class="topic-metadata">

**Author:** [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Replies:** 2\
**Last updated:** [October 12, 2024, 2:44pm UTC](https://community.dynatrace.com/t/return-multiple-items-from-variables-in-dynatrace-dql-dashboards/48284 "2024-10-12T14:44:34Z")

</div>

Summary: This article explains how to configure DQL queries to return multiple items from variables in dashboards. It includes syntax examples and tips for dynamic data visualisation in Dynatrace. Hi, I’m trying to cod…
