<?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 AVG does not return what I calculate as the average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AVG-does-not-return-what-I-calculate-as-the-average/m-p/20398#M784277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset with several duplicate records. I am trying to calculate an average response time to an incident. Each incident has a separate response time but where the record is duplicated the response time is also duplicated. I am dealing with this by using DISTINCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table calculates the total response time for each category and calculates the number of distinct records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I calculate the average by dividing one by the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however since I need to calculate the 90th percentile also I checked the maths by using avg. it provides a different answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is going wrong and how do I fix it please?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196205_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>steveniow</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>AVG does not return what I calculate as the average</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-does-not-return-what-I-calculate-as-the-average/m-p/20398#M784277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset with several duplicate records. I am trying to calculate an average response time to an incident. Each incident has a separate response time but where the record is duplicated the response time is also duplicated. I am dealing with this by using DISTINCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table calculates the total response time for each category and calculates the number of distinct records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I calculate the average by dividing one by the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however since I need to calculate the 90th percentile also I checked the maths by using avg. it provides a different answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is going wrong and how do I fix it please?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196205_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-does-not-return-what-I-calculate-as-the-average/m-p/20398#M784277</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: AVG does not return what I calculate as the average</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-does-not-return-what-I-calculate-as-the-average/m-p/20399#M784278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Average can be tricky... look here for why &lt;A href="https://community.qlik.com/qlik-blogpost/3208"&gt;Average – Which average?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 16:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-does-not-return-what-I-calculate-as-the-average/m-p/20399#M784278</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-13T16:26:56Z</dc:date>
    </item>
  </channel>
</rss>

