<?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: Aggregation issue in expression. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-in-expression/m-p/1446426#M433443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(&lt;SPAN style="color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;TOTAL &amp;lt;[Customre Name]&amp;gt;&lt;/SPAN&gt; Country)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(&lt;SPAN style="color: #ff0000;"&gt;NODISTINCT&lt;/SPAN&gt; Count(&lt;SPAN style="color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; Country),Customer Name,Customer Number)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2017 15:36:29 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-22T15:36:29Z</dc:date>
    <item>
      <title>Aggregation issue in expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-in-expression/m-p/1446425#M433442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; my desire result given in below table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 392px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="108"&gt;Customer Name&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="123"&gt;Customer Number&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Country &lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="97"&gt;Country Count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;a&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1001&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USA&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;a&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1001&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;China&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;b&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1002&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USA&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;c&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1003&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Spain&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;c&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1003&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USA&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;c&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1003&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;China&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;c&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1003&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Country Count i am using below expression but it is not working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Count(Country ),Customer Name,Customer Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is showing data as below for customer "a".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="387"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="108"&gt;Customer Name&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="123"&gt;Customer Number&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="59"&gt;Country &lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="97"&gt;Country Count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;a&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1001&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;USA&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;a&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1001&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;China&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 15:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-in-expression/m-p/1446425#M433442</guid>
      <dc:creator>infosense_devel</dc:creator>
      <dc:date>2017-08-22T15:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue in expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-in-expression/m-p/1446426#M433443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(&lt;SPAN style="color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;TOTAL &amp;lt;[Customre Name]&amp;gt;&lt;/SPAN&gt; Country)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(&lt;SPAN style="color: #ff0000;"&gt;NODISTINCT&lt;/SPAN&gt; Count(&lt;SPAN style="color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; Country),Customer Name,Customer Number)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 15:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-in-expression/m-p/1446426#M433443</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-22T15:36:29Z</dc:date>
    </item>
  </channel>
</rss>

