<?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 How to add other dimension column which is not used in DQL to split? in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/How-to-add-other-dimension-column-which-is-not-used-in-DQL-to/m-p/285846#M2586</link>
    <description>&lt;P&gt;timeseries { count(`unexpecteddowntime`), value.A = avg(`unexpecteddowntime`) }, by: {`site` }&lt;BR /&gt;| fieldsAdd arrayAvg(`count(\`unexpecteddowntime\`)`)&lt;BR /&gt;| filter value.A &amp;gt; 30&lt;BR /&gt;&lt;BR /&gt;i am trying to alert whenever the unexpecteddowntime goes above 30 on certain units and group it to site level to avoid multiple alert for same site , but i want to list the units in the email , how can i add it to the DQL ,&amp;nbsp;unexpecteddowntime is the metric key and site , units are dims&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Sep 2025 09:44:57 GMT</pubDate>
    <dc:creator>O11y_Noob</dc:creator>
    <dc:date>2025-09-24T09:44:57Z</dc:date>
    <item>
      <title>How to add other dimension column which is not used in DQL to split?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-add-other-dimension-column-which-is-not-used-in-DQL-to/m-p/285846#M2586</link>
      <description>&lt;P&gt;timeseries { count(`unexpecteddowntime`), value.A = avg(`unexpecteddowntime`) }, by: {`site` }&lt;BR /&gt;| fieldsAdd arrayAvg(`count(\`unexpecteddowntime\`)`)&lt;BR /&gt;| filter value.A &amp;gt; 30&lt;BR /&gt;&lt;BR /&gt;i am trying to alert whenever the unexpecteddowntime goes above 30 on certain units and group it to site level to avoid multiple alert for same site , but i want to list the units in the email , how can i add it to the DQL ,&amp;nbsp;unexpecteddowntime is the metric key and site , units are dims&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 09:44:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-add-other-dimension-column-which-is-not-used-in-DQL-to/m-p/285846#M2586</guid>
      <dc:creator>O11y_Noob</dc:creator>
      <dc:date>2025-09-24T09:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to add other dimension column which is not used in DQL to split</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-add-other-dimension-column-which-is-not-used-in-DQL-to/m-p/286011#M2589</link>
      <description>&lt;P&gt;You can try this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;timeseries v = avg(unexpecteddowntime), by: {site, unit}
| summarize {
site_series = avg(v[]), 
units = collectDistinct(unit) 
}, by: {site, timeframe, interval} 
| filter arrayMax(site_series) &amp;gt; 30 
| fieldsAdd units_str = toString(units)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 12:51:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-add-other-dimension-column-which-is-not-used-in-DQL-to/m-p/286011#M2589</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2025-09-15T12:51:58Z</dc:date>
    </item>
  </channel>
</rss>

