<?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 Explore Advanced Time-Series Analysis Using DQL in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Explore-Advanced-Time-Series-Analysis-Using-DQL/m-p/270672#M1736</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;(and yes I know you can use -1 as default, but this is more fun)&lt;/P&gt;
&lt;P&gt;As an example:&lt;/P&gt;
&lt;P&gt;timeseries def1=count(dt.host.cpu.load,default:1),{def2=count(dt.host.cpu.load,default:0)}| fieldsadd Result = def1[] - def2[] | fieldsRemove def1,def2&lt;/P&gt;
&lt;P&gt;Show me when I have no timeseries&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henk_stobbe_0-1740138384834.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26576i185D7747EDBE1504/image-size/medium?v=v2&amp;amp;px=400" role="button" title="henk_stobbe_0-1740138384834.png" alt="henk_stobbe_0-1740138384834.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;or:&lt;/P&gt;
&lt;P&gt;timeseries def1=count(dt.host.cpu.load,default:1),{def2=count(dt.host.cpu.load,default:0)}| fieldsadd Result = def2[] - def1[] +1 | fieldsRemove def1,def2&lt;/P&gt;
&lt;P&gt;Show me when I have timeseries:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henk_stobbe_1-1740138555787.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26577i95A2C17378C7083A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="henk_stobbe_1-1740138555787.png" alt="henk_stobbe_1-1740138555787.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Maybe this van inspire someone&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KR Henk&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2025 12:04:40 GMT</pubDate>
    <dc:creator>henk_stobbe</dc:creator>
    <dc:date>2025-12-17T12:04:40Z</dc:date>
    <item>
      <title>Explore Advanced Time-Series Analysis Using DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Explore-Advanced-Time-Series-Analysis-Using-DQL/m-p/270672#M1736</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;(and yes I know you can use -1 as default, but this is more fun)&lt;/P&gt;
&lt;P&gt;As an example:&lt;/P&gt;
&lt;P&gt;timeseries def1=count(dt.host.cpu.load,default:1),{def2=count(dt.host.cpu.load,default:0)}| fieldsadd Result = def1[] - def2[] | fieldsRemove def1,def2&lt;/P&gt;
&lt;P&gt;Show me when I have no timeseries&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henk_stobbe_0-1740138384834.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26576i185D7747EDBE1504/image-size/medium?v=v2&amp;amp;px=400" role="button" title="henk_stobbe_0-1740138384834.png" alt="henk_stobbe_0-1740138384834.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;or:&lt;/P&gt;
&lt;P&gt;timeseries def1=count(dt.host.cpu.load,default:1),{def2=count(dt.host.cpu.load,default:0)}| fieldsadd Result = def2[] - def1[] +1 | fieldsRemove def1,def2&lt;/P&gt;
&lt;P&gt;Show me when I have timeseries:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henk_stobbe_1-1740138555787.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26577i95A2C17378C7083A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="henk_stobbe_1-1740138555787.png" alt="henk_stobbe_1-1740138555787.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Maybe this van inspire someone&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KR Henk&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 12:04:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Explore-Advanced-Time-Series-Analysis-Using-DQL/m-p/270672#M1736</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2025-12-17T12:04:40Z</dc:date>
    </item>
  </channel>
</rss>

