<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Timeline variable in Dashboard in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Timeline-variable-in-Dashboard/m-p/292728#M3014</link>
    <description>&lt;P&gt;I have Timeline variable in Dashboard which is List Type and i provided values 30m, 1h, 2h which can be used as dropdown&lt;/P&gt;&lt;P&gt;But when i tried to use Timeline variable in DQL , It is showing 0 records.&amp;nbsp; But if i used without variable it is showing records&lt;/P&gt;&lt;P&gt;DQL i used&amp;nbsp;&lt;/P&gt;&lt;P&gt;fetch dt.davis.problems&lt;/P&gt;&lt;P&gt;| filter event.start &amp;gt;= now - toDuration($Timeline)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help what to be changed in above DQL.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jan 2026 07:34:21 GMT</pubDate>
    <dc:creator>Mani_Muthu3001</dc:creator>
    <dc:date>2026-01-09T07:34:21Z</dc:date>
    <item>
      <title>Timeline variable in Dashboard</title>
      <link>https://community.dynatrace.com/t5/DQL/Timeline-variable-in-Dashboard/m-p/292728#M3014</link>
      <description>&lt;P&gt;I have Timeline variable in Dashboard which is List Type and i provided values 30m, 1h, 2h which can be used as dropdown&lt;/P&gt;&lt;P&gt;But when i tried to use Timeline variable in DQL , It is showing 0 records.&amp;nbsp; But if i used without variable it is showing records&lt;/P&gt;&lt;P&gt;DQL i used&amp;nbsp;&lt;/P&gt;&lt;P&gt;fetch dt.davis.problems&lt;/P&gt;&lt;P&gt;| filter event.start &amp;gt;= now - toDuration($Timeline)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help what to be changed in above DQL.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 07:34:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Timeline-variable-in-Dashboard/m-p/292728#M3014</guid>
      <dc:creator>Mani_Muthu3001</dc:creator>
      <dc:date>2026-01-09T07:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline variable in Dashboard</title>
      <link>https://community.dynatrace.com/t5/DQL/Timeline-variable-in-Dashboard/m-p/292734#M3015</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/98384"&gt;@Mani_Muthu3001&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Looking at the toDuration function documentation&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GerardJ_0-1767945117928.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31487iFB39E77729FFDED2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GerardJ_0-1767945117928.png" alt="GerardJ_0-1767945117928.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;you have to use your variable with the ":noquote" strategy (&lt;A href="https://docs.dynatrace.com/docs/shortlink/dashboard-component-variable#variable-types" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/dashboard-component-variable#variable-types&lt;/A&gt;).&lt;BR /&gt;Should work with this DQL :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems
| filter event.start &amp;gt;= now() - toDuration($Timeline:noquote)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 07:55:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Timeline-variable-in-Dashboard/m-p/292734#M3015</guid>
      <dc:creator>GerardJ</dc:creator>
      <dc:date>2026-01-09T07:55:50Z</dc:date>
    </item>
  </channel>
</rss>

