<?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: DQL future placeholder dates in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-future-placeholder-dates/m-p/286535#M2610</link>
    <description>&lt;P&gt;Yes, you can just add the placeholders into your data, like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch bizevents, from: @w1
| summarize cnt=count(), by: { timestamp=timestamp@d }
| append [
  data record(timestamp=array(
    @w1,
    @w1+1d,
    @w1+2d,
    @w1+3d,
    @w1+4d,
    @w1+5d,
    @w1+6d
  ))
  | expand timestamp
  | fieldsAdd cnt=0
]
| summarize cnt=sum(cnt), by: {timestamp}
| sort timestamp asc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am counting bizevents since beginning of week set on beginning od Monday (&lt;EM&gt;&lt;STRONG&gt;@w1&lt;/STRONG&gt;&lt;/EM&gt;) .&lt;BR /&gt;After adding placeholders I &lt;EM&gt;&lt;STRONG&gt;summarize&lt;/STRONG&gt;&lt;/EM&gt; again using &lt;EM&gt;&lt;STRONG&gt;sum()&lt;/STRONG&gt;&lt;/EM&gt;, so placeholder are deduplicates and do nothing to existing data as 0 is neutral.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzysztof_hoja_0-1758558450577.png" style="width: 829px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30189iB3927391CEE38D2F/image-dimensions/829x804?v=v2" width="829" height="804" role="button" title="krzysztof_hoja_0-1758558450577.png" alt="krzysztof_hoja_0-1758558450577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Sep 2025 16:28:35 GMT</pubDate>
    <dc:creator>krzysztof_hoja</dc:creator>
    <dc:date>2025-09-22T16:28:35Z</dc:date>
    <item>
      <title>DQL future placeholder dates</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-future-placeholder-dates/m-p/286491#M2609</link>
      <description>&lt;P&gt;Is there a way in DQL or dashboards to show the data for today and the next 7 days as 0 until we go past those days? Idea being showing each day from the Monday how many records are returned until the Sunday then the graph resets.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eg in DQL return this table as there is only data for todays date, show 0 for the rest of the week.&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Date&lt;/TD&gt;
&lt;TD width="50%"&gt;Count&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2025-09-22&lt;/TD&gt;
&lt;TD width="50%"&gt;254&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2025-09-23&lt;/TD&gt;
&lt;TD width="50%"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2025-09-24&lt;/TD&gt;
&lt;TD width="50%"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2025-09-25&lt;/TD&gt;
&lt;TD width="50%"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2025-09-26&lt;/TD&gt;
&lt;TD width="50%"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2025-09-27&lt;/TD&gt;
&lt;TD width="50%"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2025-09-28&lt;/TD&gt;
&lt;TD width="50%"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 05:13:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-future-placeholder-dates/m-p/286491#M2609</guid>
      <dc:creator>loopy</dc:creator>
      <dc:date>2025-09-23T05:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: DQL future placeholder dates</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-future-placeholder-dates/m-p/286535#M2610</link>
      <description>&lt;P&gt;Yes, you can just add the placeholders into your data, like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch bizevents, from: @w1
| summarize cnt=count(), by: { timestamp=timestamp@d }
| append [
  data record(timestamp=array(
    @w1,
    @w1+1d,
    @w1+2d,
    @w1+3d,
    @w1+4d,
    @w1+5d,
    @w1+6d
  ))
  | expand timestamp
  | fieldsAdd cnt=0
]
| summarize cnt=sum(cnt), by: {timestamp}
| sort timestamp asc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am counting bizevents since beginning of week set on beginning od Monday (&lt;EM&gt;&lt;STRONG&gt;@w1&lt;/STRONG&gt;&lt;/EM&gt;) .&lt;BR /&gt;After adding placeholders I &lt;EM&gt;&lt;STRONG&gt;summarize&lt;/STRONG&gt;&lt;/EM&gt; again using &lt;EM&gt;&lt;STRONG&gt;sum()&lt;/STRONG&gt;&lt;/EM&gt;, so placeholder are deduplicates and do nothing to existing data as 0 is neutral.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzysztof_hoja_0-1758558450577.png" style="width: 829px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30189iB3927391CEE38D2F/image-dimensions/829x804?v=v2" width="829" height="804" role="button" title="krzysztof_hoja_0-1758558450577.png" alt="krzysztof_hoja_0-1758558450577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 16:28:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-future-placeholder-dates/m-p/286535#M2610</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2025-09-22T16:28:35Z</dc:date>
    </item>
  </channel>
</rss>

