<?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: Percentile calculation in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301168#M3391</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/98941"&gt;@enrico_afkl&lt;/a&gt;&amp;nbsp; Yes, you might need to modify the DQL a bit, please try the below&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries p99=percentile(log.prgoffer.foapi.baminfo.soap.duration, 99) , by: { baminfo.provider }&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 25 Jun 2026 00:40:02 GMT</pubDate>
    <dc:creator>p_devulapalli</dc:creator>
    <dc:date>2026-06-25T00:40:02Z</dc:date>
    <item>
      <title>Percentile calculation</title>
      <link>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/300617#M3381</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello,&lt;BR /&gt;I have this query and would like to find out which endpoints fall within the 98th percentile:&lt;BR /&gt;&lt;BR /&gt;timeseries {&lt;BR /&gt;totalCalls = sum(log.prgoffer.foapi.baminfo.httpmethod,&lt;BR /&gt;filter: isNotNull(endpoint)),&lt;BR /&gt;&lt;BR /&gt;successCalls = sum(log.prgoffer.foapi.baminfo.httpmethod,&lt;BR /&gt;filter: isNotNull(endpoint)&lt;BR /&gt;and matchesValue(baminfo.exception,"OK")),&lt;BR /&gt;&lt;BR /&gt;by:endpoint&lt;BR /&gt;},&lt;/P&gt;
&lt;P&gt;interval: 5m&lt;/P&gt;
&lt;P&gt;| fieldsAdd successRatio = successCalls[] / totalCalls[] * 100&lt;BR /&gt;| fieldsRemove successCalls, totalCalls&lt;BR /&gt;&lt;BR /&gt;thanks for all support &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; !&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2026 10:53:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/300617#M3381</guid>
      <dc:creator>enrico_afkl</dc:creator>
      <dc:date>2026-06-12T10:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile calculation</title>
      <link>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/300647#M3382</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/98941"&gt;@enrico_afkl&lt;/a&gt;&amp;nbsp;You can try the "&lt;SPAN&gt;arrayPercentile", please see below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/array-functions#array-percentile" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/array-functions#array-percentile&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 23:43:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/300647#M3382</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2026-06-11T23:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile calculation</title>
      <link>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301147#M3390</link>
      <description>&lt;P&gt;Thank you very much! With this query, I now have the following:&lt;/P&gt;&lt;P&gt;timeseries total=avg(log.prgoffer.foapi.baminfo.soap.duration) by: {baminfo.provider}&lt;BR /&gt;| fieldsAdd p99 = arrayPercentile(total, 99)&lt;BR /&gt;| fieldsRemove timeframe, interval, total&lt;/P&gt;&lt;P&gt;A chart showing the 99th percentile by category.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enrico_afkl_0-1782304845962.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33522i955629C63A23B962/image-size/medium?v=v2&amp;amp;px=400" role="button" title="enrico_afkl_0-1782304845962.png" alt="enrico_afkl_0-1782304845962.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to see how the P99 has changed over time for each provider? (Using a line chart)&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 12:41:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301147#M3390</guid>
      <dc:creator>enrico_afkl</dc:creator>
      <dc:date>2026-06-24T12:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile calculation</title>
      <link>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301168#M3391</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/98941"&gt;@enrico_afkl&lt;/a&gt;&amp;nbsp; Yes, you might need to modify the DQL a bit, please try the below&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries p99=percentile(log.prgoffer.foapi.baminfo.soap.duration, 99) , by: { baminfo.provider }&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Jun 2026 00:40:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301168#M3391</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2026-06-25T00:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile calculation</title>
      <link>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301173#M3392</link>
      <description>&lt;P&gt;I and thanks for your answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;I thought that was the right solution but when I tried I had "no records" answer whereas with the previous query I do have values within the same range so&amp;nbsp;I am puzzled.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enrico_afkl_0-1782370478410.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33531i439E95F7525D9CE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="enrico_afkl_0-1782370478410.png" alt="enrico_afkl_0-1782370478410.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you understand why?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2026 06:56:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301173#M3392</guid>
      <dc:creator>enrico_afkl</dc:creator>
      <dc:date>2026-06-25T06:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile calculation</title>
      <link>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301174#M3393</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/98941"&gt;@enrico_afkl&lt;/a&gt;&amp;nbsp;The data that you are querying , is that a timeseries data? What if you try to get a average , do you see data?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries avg(log.prgoffer.foapi.baminfo.soap.duration) , by: { baminfo.provider }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2026 07:09:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301174#M3393</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2026-06-25T07:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile calculation</title>
      <link>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301177#M3394</link>
      <description>&lt;P&gt;I did this for the first query, but now i would like to have the evolution in time with a line chart&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2026 07:36:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Percentile-calculation/m-p/301177#M3394</guid>
      <dc:creator>enrico_afkl</dc:creator>
      <dc:date>2026-06-25T07:36:24Z</dc:date>
    </item>
  </channel>
</rss>

