<?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 Re: Returning Multiple Items from a  Variables - DQL Dashboard in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Return-Multiple-Items-from-Variables-in-Dynatrace-DQL-Dashboards/m-p/259013#M1328</link>
    <description>&lt;P&gt;The reason this solution works is because when you allow multi select on a variable, it becomes an array.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Oct 2024 14:44:34 GMT</pubDate>
    <dc:creator>StrangerThing</dc:creator>
    <dc:date>2024-10-12T14:44:34Z</dc:date>
    <item>
      <title>Return Multiple Items from Variables in Dynatrace DQL Dashboards</title>
      <link>https://community.dynatrace.com/t5/DQL/Return-Multiple-Items-from-Variables-in-Dynatrace-DQL-Dashboards/m-p/258951#M1325</link>
      <description>&lt;P&gt;&lt;EM&gt;Summary:&amp;nbsp;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.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to code a variable filter in the new generation dashboards to return multiple values if a user/me chooses.&lt;/P&gt;
&lt;P&gt;I have an example where I have tags applied to a number of hosts. In total, I have about 8 groups of hosts and they display their cost. In a normal view, there will be 8 bars or 8 items on the screen. Now, when I have a variable such as this:&lt;/P&gt;
&lt;P&gt;| filter field == $Variable&lt;/P&gt;
&lt;P&gt;...and I filter to one item, it does that successfully. Its only when it becomes 2 or more that it fails and returns back:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"Too many positional parameters have been defined."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Is there a way for me to have a selection to choose from?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 13:17:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Return-Multiple-Items-from-Variables-in-Dynatrace-DQL-Dashboards/m-p/258951#M1325</guid>
      <dc:creator>badgerfifteen</dc:creator>
      <dc:date>2026-01-21T13:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Multiple Items from a  Variables - DQL Dashboard</title>
      <link>https://community.dynatrace.com/t5/DQL/Return-Multiple-Items-from-Variables-in-Dynatrace-DQL-Dashboards/m-p/258981#M1326</link>
      <description>&lt;P&gt;Yes. This is the way to do it:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| filter in(field,array($Variable))&lt;/LI-CODE&gt;&lt;P&gt;Kris&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 18:29:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Return-Multiple-Items-from-Variables-in-Dynatrace-DQL-Dashboards/m-p/258981#M1326</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2024-10-11T18:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Multiple Items from a  Variables - DQL Dashboard</title>
      <link>https://community.dynatrace.com/t5/DQL/Return-Multiple-Items-from-Variables-in-Dynatrace-DQL-Dashboards/m-p/259013#M1328</link>
      <description>&lt;P&gt;The reason this solution works is because when you allow multi select on a variable, it becomes an array.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2024 14:44:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Return-Multiple-Items-from-Variables-in-Dynatrace-DQL-Dashboards/m-p/259013#M1328</guid>
      <dc:creator>StrangerThing</dc:creator>
      <dc:date>2024-10-12T14:44:34Z</dc:date>
    </item>
  </channel>
</rss>

