<?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: Expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689703#M1066336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/05/19/function-classes#comment-17143" title="http://community.qlik.com/blogs/qlikviewdesignblog/2014/05/19/function-classes#comment-17143"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2014/05/19/function-classes#comment-17143&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Sep 2014 00:35:24 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-09-13T00:35:24Z</dc:date>
    <item>
      <title>Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689702#M1066335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the foll. data set:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="421"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="107"&gt;Category&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Product&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Part&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="110"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;ac&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;a&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;a1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;ac&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;a&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;a1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;ac&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;a&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;a2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;ac&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;b&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;b1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;ac&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;b&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;b2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;ac&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;c&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;c1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;ac&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;c&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;c2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'm stumbling on some results I'm getting with the foll expressions:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(aggr(nodistinct sum(Sales),Category, Product, Part))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;count(aggr(nodistinct sum(Sales),Category, Product))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;count(aggr(nodistinct sum(Sales),Category))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could somebody explain the above expressions, and what results I would get ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 22:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689702#M1066335</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2014-09-12T22:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689703#M1066336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/05/19/function-classes#comment-17143" title="http://community.qlik.com/blogs/qlikviewdesignblog/2014/05/19/function-classes#comment-17143"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2014/05/19/function-classes#comment-17143&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 00:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689703#M1066336</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-13T00:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689704#M1066337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 03:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689704#M1066337</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-13T03:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689705#M1066338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Gerry,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;As mentioned by Marcus, please read the above posts to under the Aggr() function. In simple terms you are Grouping the data and aggregating (Sum in your case) by the fields mentioned above. Then you are counting the results and not eliminating any potential duplicate values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 11:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689705#M1066338</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-09-13T11:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689706#M1066339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thanks all for you help !&amp;nbsp; it became clear to me after I posted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The count is simply returning the count of the number of items in the aggr function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&amp;nbsp; count(100,200,300)&amp;nbsp; returns 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very elegant from QV !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 01:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689706#M1066339</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2014-09-14T01:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689707#M1066340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad you got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you close the thread by marking the relevant answer(s). It might help other users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 06:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/689707#M1066340</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-09-14T06:54:32Z</dc:date>
    </item>
  </channel>
</rss>

