<?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 Last value from timeseries in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Last-value-from-timeseries/m-p/213661#M4</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When using the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;timeseries&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;command with the goal of displaying a single value (on the single value visualization), what is the best/preferred DQL syntax?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;BR /&gt;Sini&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 08:32:23 GMT</pubDate>
    <dc:creator>sinisa_zubic</dc:creator>
    <dc:date>2023-06-01T08:32:23Z</dc:date>
    <item>
      <title>Last value from timeseries</title>
      <link>https://community.dynatrace.com/t5/DQL/Last-value-from-timeseries/m-p/213661#M4</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When using the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;timeseries&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;command with the goal of displaying a single value (on the single value visualization), what is the best/preferred DQL syntax?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;BR /&gt;Sini&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 08:32:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Last-value-from-timeseries/m-p/213661#M4</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2023-06-01T08:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Last value from timeseries</title>
      <link>https://community.dynatrace.com/t5/DQL/Last-value-from-timeseries/m-p/213747#M17</link>
      <description>&lt;P&gt;Hi Sinisa, you can use the &lt;A href="https://www.dynatrace.com/support/help/shortlink/dql-functions#arrayLast" target="_self"&gt;arrayLast function&lt;/A&gt;. Here's an example of a query doing just that:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;timeseries avg(dt.host.memory.usage)
| fields arraylast(`avg(dt.host.memory.usage)`)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 10:56:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Last-value-from-timeseries/m-p/213747#M17</guid>
      <dc:creator>educampver</dc:creator>
      <dc:date>2023-06-01T10:56:07Z</dc:date>
    </item>
  </channel>
</rss>

