<?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: How to use Aggregation at script level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735877#M1062811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use Aggr() in script. You can try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initial:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Country,Sales,Year&lt;/P&gt;&lt;P&gt;India,1000,2013&lt;/P&gt;&lt;P&gt;India,2000,2014&lt;/P&gt;&lt;P&gt;China,1000,2013&lt;/P&gt;&lt;P&gt;China,200,2014 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join(Initial)&lt;/P&gt;&lt;P&gt;Load Country,Sum(Sales)/Count(Country) As Avg Resident Initial Group by Country;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2014 14:01:37 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-10-01T14:01:37Z</dc:date>
    <item>
      <title>How to use Aggregation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735874#M1062808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody tell how to use How to use Aggregation at script level &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 13:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735874#M1062808</guid>
      <dc:creator />
      <dc:date>2014-10-01T13:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Aggregation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735875#M1062809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean using Aggr() ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 13:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735875#M1062809</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-01T13:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Aggregation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735876#M1062810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Cheliyan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Designing we can write avg(aggr(sum(sales),Country)), like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similar way i should do the same in the script level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 13:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735876#M1062810</guid>
      <dc:creator />
      <dc:date>2014-10-01T13:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Aggregation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735877#M1062811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use Aggr() in script. You can try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initial:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Country,Sales,Year&lt;/P&gt;&lt;P&gt;India,1000,2013&lt;/P&gt;&lt;P&gt;India,2000,2014&lt;/P&gt;&lt;P&gt;China,1000,2013&lt;/P&gt;&lt;P&gt;China,200,2014 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join(Initial)&lt;/P&gt;&lt;P&gt;Load Country,Sum(Sales)/Count(Country) As Avg Resident Initial Group by Country;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 14:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735877#M1062811</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-01T14:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Aggregation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735878#M1062812</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;there are multiple aggregation functions for the script, they all have in common that there must be a group by clause for all fields loaded but not aggregated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_136007_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/68129_QlikCommunity_Thread_136007_Pic2.JPG.jpg" style="width: 620px; height: 575px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 21:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Aggregation-at-script-level/m-p/735878#M1062812</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-10-01T21:35:38Z</dc:date>
    </item>
  </channel>
</rss>

