<?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 QlikView Developer Training book AGGR function question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Developer-Training-book-AGGR-function-question/m-p/863906#M1009314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I read the developer book on aggr function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one expression you have: max(aggr(sum(LineSalesAmount), CategoryName, ProductName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you need to dimensions (category and product) when the expression gives the same result with only product field specified?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the same result if I just do: max(aggr(sum(LineSalesAmount), ProductName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2015 15:51:31 GMT</pubDate>
    <dc:creator>jblomqvist</dc:creator>
    <dc:date>2015-05-01T15:51:31Z</dc:date>
    <item>
      <title>QlikView Developer Training book AGGR function question</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Developer-Training-book-AGGR-function-question/m-p/863906#M1009314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I read the developer book on aggr function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one expression you have: max(aggr(sum(LineSalesAmount), CategoryName, ProductName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you need to dimensions (category and product) when the expression gives the same result with only product field specified?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the same result if I just do: max(aggr(sum(LineSalesAmount), ProductName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 15:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Developer-Training-book-AGGR-function-question/m-p/863906#M1009314</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-05-01T15:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Developer Training book AGGR function question</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Developer-Training-book-AGGR-function-question/m-p/863907#M1009315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can get the same result but not always&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85511_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 16:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Developer-Training-book-AGGR-function-question/m-p/863907#M1009315</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-01T16:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Developer Training book AGGR function question</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Developer-Training-book-AGGR-function-question/m-p/863908#M1009316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i agree with Massimo. And to add one more point,in your chart if you do not have dimension category this expression holds good &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;max(aggr(sum(LineSalesAmount), ProductName))..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But in the chart if you have dimensions both &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductName &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CategoryName-- then we have to use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;max(aggr(sum(LineSalesAmount), CategoryName, ProductName))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because aggregate function works only when you list all the diemensions present in the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 18:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Developer-Training-book-AGGR-function-question/m-p/863908#M1009316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-09T18:02:06Z</dc:date>
    </item>
  </channel>
</rss>

