<?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: Combining timeseries, can this be done in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278734#M2166</link>
    <description>&lt;P&gt;The concept is called "iterative expressions"&lt;/P&gt;&lt;P&gt;There are few examples on DQL for Metrics page like this one:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/analyze-explore-automate/metrics/dql-examples#example-9-connection-failure-rate-by-host" target="_blank"&gt;https://docs.dynatrace.com/docs/analyze-explore-automate/metrics/dql-examples#example-9-connection-failure-rate-by-host&lt;/A&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries {
      new = sum(dt.process.network.sessions.new),
      {reset = sum(dt.process.network.sessions.reset), default:0},
      {timeout = sum(dt.process.network.sessions.timeout), default:0}
    },
    by:{dt.entity.host}
| fieldsAdd result = 100 * (reset[] + timeout[]) / new[]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;more details in dedicated section:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-query-language/operators#iterative-expressions" target="_blank"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-query-language/operators#iterative-expressions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 19:59:58 GMT</pubDate>
    <dc:creator>krzysztof_hoja</dc:creator>
    <dc:date>2025-06-04T19:59:58Z</dc:date>
    <item>
      <title>Combining timeseries, can this be done</title>
      <link>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278688#M2162</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What if you have to time series and you want to add/subtract them to create a new one......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this be done, or a I over asking?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:52:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278688#M2162</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2025-06-04T13:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Combining timeseries, can this be done</title>
      <link>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278697#M2163</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Are you looking for something like the following?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/managed/discover-dynatrace/references/dynatrace-api/environment-api/metric-v2/metric-expressions" target="_blank"&gt;https://docs.dynatrace.com/managed/discover-dynatrace/references/dynatrace-api/environment-api/metric-v2/metric-expressions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:05:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278697#M2163</guid>
      <dc:creator>Theodore_x86</dc:creator>
      <dc:date>2025-06-04T14:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Combining timeseries, can this be done</title>
      <link>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278701#M2164</link>
      <description>&lt;P&gt;Hello Theodore,&lt;/P&gt;&lt;P&gt;Thanks for you answer, yes this is wat I like to see... But here comes then but (sorry) I want to see this in DQL so I can use the result in a Dashboard GenV3,&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:31:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278701#M2164</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2025-06-04T14:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Combining timeseries, can this be done</title>
      <link>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278704#M2165</link>
      <description>&lt;P&gt;Then you have to go with this I think:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/metrics-selector-conversion#arithmetic" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/metrics-selector-conversion#arithmetic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:42:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278704#M2165</guid>
      <dc:creator>Theodore_x86</dc:creator>
      <dc:date>2025-06-04T14:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Combining timeseries, can this be done</title>
      <link>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278734#M2166</link>
      <description>&lt;P&gt;The concept is called "iterative expressions"&lt;/P&gt;&lt;P&gt;There are few examples on DQL for Metrics page like this one:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/analyze-explore-automate/metrics/dql-examples#example-9-connection-failure-rate-by-host" target="_blank"&gt;https://docs.dynatrace.com/docs/analyze-explore-automate/metrics/dql-examples#example-9-connection-failure-rate-by-host&lt;/A&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries {
      new = sum(dt.process.network.sessions.new),
      {reset = sum(dt.process.network.sessions.reset), default:0},
      {timeout = sum(dt.process.network.sessions.timeout), default:0}
    },
    by:{dt.entity.host}
| fieldsAdd result = 100 * (reset[] + timeout[]) / new[]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;more details in dedicated section:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-query-language/operators#iterative-expressions" target="_blank"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-query-language/operators#iterative-expressions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:59:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278734#M2166</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2025-06-04T19:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Combining timeseries, can this be done</title>
      <link>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278736#M2167</link>
      <description>&lt;P&gt;Hi Krysztof,&lt;/P&gt;&lt;P&gt;You are absolutely right, thanks,&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:34:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Combining-timeseries-can-this-be-done/m-p/278736#M2167</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2025-06-04T21:34:23Z</dc:date>
    </item>
  </channel>
</rss>

