<?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 AGGR Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-Count/m-p/1709792#M724732</link>
    <description>&lt;P&gt;I've got a straight table where I want to do a count to get the total for one dimension:&lt;/P&gt;&lt;P&gt;Dim 1&amp;nbsp; &amp;nbsp; Dim 2&amp;nbsp; &amp;nbsp;Dim 3&amp;nbsp; Dim 4&amp;nbsp; &amp;nbsp; Count&amp;nbsp; &amp;nbsp; Required Column&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; E&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; D&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; E&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get a total count for the table. I've tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;= AGGR(COUNT( DISTINCT Field),Dim1, Dim2, Dim4) &amp;nbsp;&lt;/P&gt;&lt;P&gt;This works for the first line in the table, but then I just get a blank for the second.&lt;/P&gt;&lt;P&gt;Does anyone know of a solution?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>aliyoung92</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>AGGR Count</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Count/m-p/1709792#M724732</link>
      <description>&lt;P&gt;I've got a straight table where I want to do a count to get the total for one dimension:&lt;/P&gt;&lt;P&gt;Dim 1&amp;nbsp; &amp;nbsp; Dim 2&amp;nbsp; &amp;nbsp;Dim 3&amp;nbsp; Dim 4&amp;nbsp; &amp;nbsp; Count&amp;nbsp; &amp;nbsp; Required Column&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; E&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; D&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; E&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get a total count for the table. I've tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;= AGGR(COUNT( DISTINCT Field),Dim1, Dim2, Dim4) &amp;nbsp;&lt;/P&gt;&lt;P&gt;This works for the first line in the table, but then I just get a blank for the second.&lt;/P&gt;&lt;P&gt;Does anyone know of a solution?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Count/m-p/1709792#M724732</guid>
      <dc:creator>aliyoung92</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR Count</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Count/m-p/1709796#M724733</link>
      <description>&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=SUM( AGGR(COUNT( DISTINCT Field),Dim1)&amp;nbsp;)+&lt;/SPAN&gt;&lt;SPAN&gt;SUM( AGGR(COUNT( DISTINCT Field),Dim2)&amp;nbsp;)+SUM( AGGR(COUNT( DISTINCT Field),Dim3)&amp;nbsp;)+SUM( AGGR(COUNT( DISTINCT Field),Dim4)&amp;nbsp;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 14:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Count/m-p/1709796#M724733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-10T14:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR Count</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Count/m-p/1709811#M724734</link>
      <description>&lt;P&gt;Unfortunately just gives a 0 rather than a blank for the other rows&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 14:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Count/m-p/1709811#M724734</guid>
      <dc:creator>aliyoung92</dc:creator>
      <dc:date>2020-06-10T14:38:17Z</dc:date>
    </item>
  </channel>
</rss>

