<?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: makeTimeSeries in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/makeTimeSeries/m-p/282428#M2386</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;In order to create a new field that charts &lt;EM&gt;completed&lt;/EM&gt;/&lt;EM&gt;started&lt;/EM&gt; over time, you'll need to divide each value of &lt;EM&gt;completed&lt;/EM&gt; by the corresponding value in &lt;EM&gt;started&lt;/EM&gt;, which can be done using &lt;EM&gt;iCollectArray.&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;fetch bizevents&lt;BR /&gt;| filter eventType == "my-event"&lt;BR /&gt;| makeTimeseries {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;started = countDistinct(if(pathname == "/started", clientIPAddress), default: 0),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;completed= countDistinct(if(pathname == "/completed", clientIPAddress), default: 0)&lt;BR /&gt;&amp;nbsp;}&lt;BR /&gt;&lt;STRONG&gt;| fieldsAdd success = iCollectArray(completed[]/started[])&lt;/STRONG&gt;&lt;BR /&gt;| fieldsRemove started, completed&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jul 2025 16:42:33 GMT</pubDate>
    <dc:creator>Cameron-Leong</dc:creator>
    <dc:date>2025-07-28T16:42:33Z</dc:date>
    <item>
      <title>makeTimeSeries</title>
      <link>https://community.dynatrace.com/t5/DQL/makeTimeSeries/m-p/282402#M2385</link>
      <description>&lt;P&gt;Hi, trying to use makeTimeSeries but it doesn't seem to allow the success field I added below&lt;/P&gt;
&lt;P class=""&gt;fetch bizevents&lt;BR /&gt;| filter eventType == "my-event"&lt;/P&gt;
&lt;P class=""&gt;| makeTimeseries {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;started = countDistinct(if(pathname == "/started", clientIPAddress), default: 0),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;completed= countDistinct(if(pathname == "/completed", clientIPAddress), default: 0)&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; success = (completed/started) * 100}&lt;BR /&gt;| fieldsRemove started, completed&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 07:24:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/makeTimeSeries/m-p/282402#M2385</guid>
      <dc:creator>dynacondused</dc:creator>
      <dc:date>2025-07-29T07:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: makeTimeSeries</title>
      <link>https://community.dynatrace.com/t5/DQL/makeTimeSeries/m-p/282428#M2386</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;In order to create a new field that charts &lt;EM&gt;completed&lt;/EM&gt;/&lt;EM&gt;started&lt;/EM&gt; over time, you'll need to divide each value of &lt;EM&gt;completed&lt;/EM&gt; by the corresponding value in &lt;EM&gt;started&lt;/EM&gt;, which can be done using &lt;EM&gt;iCollectArray.&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;fetch bizevents&lt;BR /&gt;| filter eventType == "my-event"&lt;BR /&gt;| makeTimeseries {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;started = countDistinct(if(pathname == "/started", clientIPAddress), default: 0),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;completed= countDistinct(if(pathname == "/completed", clientIPAddress), default: 0)&lt;BR /&gt;&amp;nbsp;}&lt;BR /&gt;&lt;STRONG&gt;| fieldsAdd success = iCollectArray(completed[]/started[])&lt;/STRONG&gt;&lt;BR /&gt;| fieldsRemove started, completed&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 16:42:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/makeTimeSeries/m-p/282428#M2386</guid>
      <dc:creator>Cameron-Leong</dc:creator>
      <dc:date>2025-07-28T16:42:33Z</dc:date>
    </item>
  </channel>
</rss>

