<?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: Dashboard filter with multi-select: filtering on multiple possible tags in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/273714#M1868</link>
    <description>&lt;P&gt;Thanks so much.&amp;nbsp; Got this working now.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2025 14:16:02 GMT</pubDate>
    <dc:creator>Kenny_Gillette</dc:creator>
    <dc:date>2025-03-27T14:16:02Z</dc:date>
    <item>
      <title>Dashboard filter with multi-select: filtering on multiple possible tags</title>
      <link>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/249368#M1017</link>
      <description>&lt;P&gt;I have a variable definition working fine, that spits out possible values for a specific tag on my AWS SQS queues:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch `dt.entity.cloud&lt;img class="lia-deferred-image lia-image-emoji" src="https://community.dynatrace.com/html/@F9676CCDE08B8746467ACFFDC4C9827E/images/emoticons/aws.png" alt=":aws:" title=":aws:" /&gt;sqs`
| fields tags
| expand tags
| filter contains(tags, "[AWS]environment")
| sort tags asc
| summarize environments = collectDistinct(tags)&lt;/LI-CODE&gt;&lt;P&gt;and this variable is configured as multi-select&lt;/P&gt;&lt;P&gt;I now want to filter for any entity matching one of the selected tags, but I'm not sure how to go about that&lt;/P&gt;&lt;P&gt;I've tried using `| filter tags in` to no avail&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 08:19:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/249368#M1017</guid>
      <dc:creator>aled</dc:creator>
      <dc:date>2024-06-28T08:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard filter with multi-select: filtering on multiple possible tags</title>
      <link>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/249384#M1018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76716"&gt;@aled&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;That's what I use when I want to filter using multi-select variable, like this :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| filter in(tags, Array($variable))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Hope this helps&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 09:57:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/249384#M1018</guid>
      <dc:creator>GerardJ</dc:creator>
      <dc:date>2024-06-28T09:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard filter with multi-select: filtering on multiple possible tags</title>
      <link>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/249386#M1019</link>
      <description>&lt;P&gt;Not sure how I missed that, works well, cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 10:03:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/249386#M1019</guid>
      <dc:creator>aled</dc:creator>
      <dc:date>2024-06-28T10:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard filter with multi-select: filtering on multiple possible tags</title>
      <link>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/273329#M1848</link>
      <description>&lt;P&gt;Wonder if I could get some help.&lt;/P&gt;&lt;P&gt;Trying to filter on Tag too.&amp;nbsp; I have a variable that works to pulls part of tag&lt;/P&gt;&lt;P&gt;I pull the name of the business owner team through a variable named BOT.&lt;/P&gt;&lt;P&gt;fetch dt.entity.host&lt;BR /&gt;| fieldsAdd tags&lt;BR /&gt;| expand tags&lt;BR /&gt;| filter contains (tags, "[AWS]business-owner-team",caseSensitive:false)&lt;BR /&gt;| summarize tags = collectDistinct(tags)&lt;BR /&gt;| expand tags&lt;BR /&gt;| parse tags, "ld:'[AWS]business-owner-team' ':' ld:TagValue"&lt;BR /&gt;| sort TagValue asc&lt;BR /&gt;| fields TagValue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I used above as variable in dashboard tile:&lt;/P&gt;&lt;P&gt;fetch dt.entity.host&lt;BR /&gt;| filter in(tags, Array($BOT))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get nothing.&amp;nbsp; any help?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 16:08:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/273329#M1848</guid>
      <dc:creator>Kenny_Gillette</dc:creator>
      <dc:date>2025-03-24T16:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard filter with multi-select: filtering on multiple possible tags</title>
      <link>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/273577#M1861</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/66575"&gt;@GerardJ&lt;/a&gt;&amp;nbsp; any help you could provide please&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 12:42:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/273577#M1861</guid>
      <dc:creator>Kenny_Gillette</dc:creator>
      <dc:date>2025-03-26T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard filter with multi-select: filtering on multiple possible tags</title>
      <link>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/273696#M1867</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/36140"&gt;@Kenny_Gillette&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The 'in' function perform an exact match, so assuming that your variable is a multiselect, I would have this logic :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.host
| expand tags
| filter matchesValue(tags, "[AWS]business-owner-team*")
| parse tags, "ld:'[AWS]business-owner-team' ':' ld:TagValue"
| filter in(TagValue, $BOT)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 14:25:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/273696#M1867</guid>
      <dc:creator>GerardJ</dc:creator>
      <dc:date>2025-03-27T14:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard filter with multi-select: filtering on multiple possible tags</title>
      <link>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/273714#M1868</link>
      <description>&lt;P&gt;Thanks so much.&amp;nbsp; Got this working now.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 14:16:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dashboard-filter-with-multi-select-filtering-on-multiple/m-p/273714#M1868</guid>
      <dc:creator>Kenny_Gillette</dc:creator>
      <dc:date>2025-03-27T14:16:02Z</dc:date>
    </item>
  </channel>
</rss>

