<?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: Help required for calculating average Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-required-for-calculating-average-Total/m-p/761261#M270803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;See my attached file. The "problem" is that you are viewing the values as integers even though they have decimals. If you really want an average of rounded values you can do as I did in the last column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Nov 2014 16:44:38 GMT</pubDate>
    <dc:creator>morgankejerhag</dc:creator>
    <dc:date>2014-11-17T16:44:38Z</dc:date>
    <item>
      <title>Help required for calculating average Total</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-for-calculating-average-Total/m-p/761259#M270801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; font-size: 16px;"&gt;I have attached a qvw file with the scenario which we are trying to resolve.&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; font-size: 16px;"&gt;In the file you could see a Pivot table with average sales with partial sum enable for Year(second dimension). The issue reporting is&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; font-size: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; font-size: 16px;"&gt;for Product 1 Year 2013, the average is (84+85)/2 = 84.50 which is rounded to 85.&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; font-size: 16px;"&gt;for Product 1 Year 2014, the average is (85+86)/2 = 85.50 which is rounded to 86.&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; font-size: 16px;"&gt;&lt;SPAN style="color: red;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;&lt;STRONG&gt;for Product 1,the partial sum is expected to be the average of rounded off value&amp;nbsp; (85+86)/2 =85.50 round to 86&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;.&lt;/SPAN&gt; But I think in pivot table, it is calculated as (84+85+85+86)/4 or (84.50+85.50)/2 and displayed as 85.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 16:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-for-calculating-average-Total/m-p/761259#M270801</guid>
      <dc:creator />
      <dc:date>2014-11-17T16:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help required for calculating average Total</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-for-calculating-average-Total/m-p/761260#M270802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kirti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why you'd want to do this, as 86 would be a false average of the total - which Qlik is trying to give you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can only recommend resident loading your data summed to year level and rounded - so your data would then be by year as 85 and 86, and would then average to 86 when rounded up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 16:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-for-calculating-average-Total/m-p/761260#M270802</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2014-11-17T16:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help required for calculating average Total</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-for-calculating-average-Total/m-p/761261#M270803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;See my attached file. The "problem" is that you are viewing the values as integers even though they have decimals. If you really want an average of rounded values you can do as I did in the last column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 16:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-for-calculating-average-Total/m-p/761261#M270803</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2014-11-17T16:44:38Z</dc:date>
    </item>
  </channel>
</rss>

