<?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 Timeseries arithmetic in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Timeseries-arithmetic/m-p/292766#M3021</link>
    <description>&lt;P&gt;I am currently sending percentage-based approval rate metrics to Dynatrace and creating line-graph dashboards using timeseries like these:&lt;BR /&gt;&lt;BR /&gt;timeseries APPROVAL_RATE=avg(SERVICE_APPROVAL_RATE_OVERALL), interval:1m&lt;BR /&gt;&lt;BR /&gt;That being said, I am unsure how I show the decline rate (1 - Approvals) on those boards, as that requires arithmetic between timeseries presumably. The DQL seems poorly documented, but I would rather not alter my data model to send both approvals and declines.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jan 2026 14:32:15 GMT</pubDate>
    <dc:creator>Rudolph_Sedlin</dc:creator>
    <dc:date>2026-01-09T14:32:15Z</dc:date>
    <item>
      <title>Timeseries arithmetic</title>
      <link>https://community.dynatrace.com/t5/DQL/Timeseries-arithmetic/m-p/292766#M3021</link>
      <description>&lt;P&gt;I am currently sending percentage-based approval rate metrics to Dynatrace and creating line-graph dashboards using timeseries like these:&lt;BR /&gt;&lt;BR /&gt;timeseries APPROVAL_RATE=avg(SERVICE_APPROVAL_RATE_OVERALL), interval:1m&lt;BR /&gt;&lt;BR /&gt;That being said, I am unsure how I show the decline rate (1 - Approvals) on those boards, as that requires arithmetic between timeseries presumably. The DQL seems poorly documented, but I would rather not alter my data model to send both approvals and declines.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 14:32:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Timeseries-arithmetic/m-p/292766#M3021</guid>
      <dc:creator>Rudolph_Sedlin</dc:creator>
      <dc:date>2026-01-09T14:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Timeseries arithmetic</title>
      <link>https://community.dynatrace.com/t5/DQL/Timeseries-arithmetic/m-p/292776#M3022</link>
      <description>&lt;P&gt;You can use an array operator to operate on every portion of an array:&lt;/P&gt;&lt;P&gt;timeseries &lt;SPAN&gt;APPROVAL_RATE&lt;/SPAN&gt;=avg(&lt;SPAN&gt;SERVICE_APPROVAL_RATE_OVERALL&lt;/SPAN&gt;), interval:1m&lt;BR /&gt;| fieldsAdd DECLINE=1-&lt;SPAN&gt;APPROVAL_RATE&lt;/SPAN&gt;[]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jolinger_0-1767982916147.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31494i939675872C40B3E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jolinger_0-1767982916147.png" alt="jolinger_0-1767982916147.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 18:23:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Timeseries-arithmetic/m-p/292776#M3022</guid>
      <dc:creator>jolinger</dc:creator>
      <dc:date>2026-01-09T18:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Timeseries arithmetic</title>
      <link>https://community.dynatrace.com/t5/DQL/Timeseries-arithmetic/m-p/292833#M3027</link>
      <description>&lt;P&gt;Thank you so much, that did the trick! I can even evaluate the approval rate itself now via division of the approved events over the totals using this syntax, which simplifies my metrics model.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 13:09:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Timeseries-arithmetic/m-p/292833#M3027</guid>
      <dc:creator>Rudolph_Sedlin</dc:creator>
      <dc:date>2026-01-12T13:09:45Z</dc:date>
    </item>
  </channel>
</rss>

