<?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 Aggregate Function giving scaled up values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregate-Function-giving-scaled-up-values/m-p/578259#M1116313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a table as follows:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-467425-53072/1.JPG.jpg" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="1.JPG.jpg" class="jive-image jiveImage" height="322" src="https://community.qlik.com/legacyfs/online/53076_1.JPG.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="949" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And when I apply the aggregate function on duration as aggr(sum(DURATION),SYSTEM_ID)&amp;nbsp; , I get the values totally scaled up.. I noticed they are multiplied 7 or 6 or 5&amp;nbsp; times than the expected values what could be the reason, the aggregated table is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-467425-53073/2.JPG.jpg" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="2.JPG.jpg" class="jive-image jiveImage" height="102" src="https://community.qlik.com/legacyfs/online/53077_2.JPG.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="441" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Feb 2014 00:38:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-13T00:38:07Z</dc:date>
    <item>
      <title>Aggregate Function giving scaled up values</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-Function-giving-scaled-up-values/m-p/578259#M1116313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a table as follows:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-467425-53072/1.JPG.jpg" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="1.JPG.jpg" class="jive-image jiveImage" height="322" src="https://community.qlik.com/legacyfs/online/53076_1.JPG.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="949" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And when I apply the aggregate function on duration as aggr(sum(DURATION),SYSTEM_ID)&amp;nbsp; , I get the values totally scaled up.. I noticed they are multiplied 7 or 6 or 5&amp;nbsp; times than the expected values what could be the reason, the aggregated table is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-467425-53073/2.JPG.jpg" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="2.JPG.jpg" class="jive-image jiveImage" height="102" src="https://community.qlik.com/legacyfs/online/53077_2.JPG.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="441" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 00:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-Function-giving-scaled-up-values/m-p/578259#M1116313</guid>
      <dc:creator />
      <dc:date>2014-02-13T00:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate Function giving scaled up values</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-Function-giving-scaled-up-values/m-p/578260#M1116314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not use the Aggr() function like that. Change your expression to Sum(DURATION) only, and see what you get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/03/11/when-should-the-aggr-function-not-be-used" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/03/11/when-should-the-aggr-function-not-be-used"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/03/11/when-should-the-aggr-function-not-be-used&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 08:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-Function-giving-scaled-up-values/m-p/578260#M1116314</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-02-13T08:15:09Z</dc:date>
    </item>
  </channel>
</rss>

