<?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 functions with group by clause in load statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggregate-functions-with-group-by-clause-in-load-statement/m-p/511060#M1146997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;can we use aggregate functions in load statement if so how to use these functions with group by clause in load statement...?&lt;/P&gt;&lt;P&gt;and where we can use these functions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jun 2013 11:24:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-26T11:24:30Z</dc:date>
    <item>
      <title>aggregate functions with group by clause in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/aggregate-functions-with-group-by-clause-in-load-statement/m-p/511060#M1146997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;can we use aggregate functions in load statement if so how to use these functions with group by clause in load statement...?&lt;/P&gt;&lt;P&gt;and where we can use these functions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 11:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregate-functions-with-group-by-clause-in-load-statement/m-p/511060#M1146997</guid>
      <dc:creator />
      <dc:date>2013-06-26T11:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: aggregate functions with group by clause in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/aggregate-functions-with-group-by-clause-in-load-statement/m-p/511061#M1146998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in script--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;id,&lt;/P&gt;&lt;P&gt;sum(sales) as sales&lt;/P&gt;&lt;P&gt;group by id;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(sum(sales),id)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 11:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregate-functions-with-group-by-clause-in-load-statement/m-p/511061#M1146998</guid>
      <dc:creator />
      <dc:date>2013-06-26T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: aggregate functions with group by clause in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/aggregate-functions-with-group-by-clause-in-load-statement/m-p/511062#M1146999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In script aggrgation function is like a group by function&lt;/P&gt;&lt;P&gt;on expression side we use &lt;STRONG&gt;aggr function &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;for calculation like eg:&lt;/P&gt;&lt;P&gt;you have 3 dimensions and 2 expression in pivot or straight table then your ist expression gives the data correct on the basis od 1st dimension .by default it gives hte data on the basis of all dimension menas 3&lt;/P&gt;&lt;P&gt; to caluculate forcefully you have to use &lt;STRONG&gt;aggr function like this way&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;aggr(sum(Expression),Dimension1)&lt;/P&gt;&lt;P&gt;but in script side use Group by statement to extract the data of some calculation on the basis of particular field&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;load a,&lt;/P&gt;&lt;P&gt;min(c) as Minimumvaluec &lt;/P&gt;&lt;P&gt;from table&lt;/P&gt;&lt;P&gt;group by a;&lt;/P&gt;&lt;P&gt;see the attached example and i use first sorted value concept in&amp;nbsp; that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 11:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregate-functions-with-group-by-clause-in-load-statement/m-p/511062#M1146999</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-06-26T11:55:00Z</dc:date>
    </item>
  </channel>
</rss>

