<?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: Total count distinct  produce wrong sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-count-distinct-produce-wrong-sum/m-p/789896#M279307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression is used at the total level too. So it returns the overall count distinct. There is no automatic sum, because it's an automatic count distinct (which is correct). If you want to sum the rows you can do two things.&lt;/P&gt;&lt;P&gt;1. Set the total mode of the expression to Sum of Rows;&lt;/P&gt;&lt;P&gt;2. Use sum(aggr(count(distinct number),category)) as expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Nov 2014 12:37:08 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-11-07T12:37:08Z</dc:date>
    <item>
      <title>Total count distinct  produce wrong sum</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count-distinct-produce-wrong-sum/m-p/789895#M279306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi all,&lt;/P&gt;&lt;P&gt;i really don't succeed in explaining the behaviour of qlikview in the attached document.&lt;/P&gt;&lt;P&gt;The automatic sum (TOTAL) on the column where i perform a count(distinct...) produce a wrong automatic sum.&lt;/P&gt;&lt;P&gt;Can someone help me to understand this behaviour and to find a solution?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 12:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count-distinct-produce-wrong-sum/m-p/789895#M279306</guid>
      <dc:creator />
      <dc:date>2014-11-07T12:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Total count distinct  produce wrong sum</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count-distinct-produce-wrong-sum/m-p/789896#M279307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression is used at the total level too. So it returns the overall count distinct. There is no automatic sum, because it's an automatic count distinct (which is correct). If you want to sum the rows you can do two things.&lt;/P&gt;&lt;P&gt;1. Set the total mode of the expression to Sum of Rows;&lt;/P&gt;&lt;P&gt;2. Use sum(aggr(count(distinct number),category)) as expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 12:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count-distinct-produce-wrong-sum/m-p/789896#M279307</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-11-07T12:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Total count distinct  produce wrong sum</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count-distinct-produce-wrong-sum/m-p/789897#M279308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I resolved using the first option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 12:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count-distinct-produce-wrong-sum/m-p/789897#M279308</guid>
      <dc:creator />
      <dc:date>2014-11-07T12:42:24Z</dc:date>
    </item>
  </channel>
</rss>

