<?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 Count Distinct function is allowing duplicate records in table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Distinct-function-is-allowing-duplicate-records-in-table/m-p/1257883#M397187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table chart which contains records that contain duplicate data in&amp;nbsp; same field between them. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Comp.ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Issue Number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;12183594&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00003 &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;12183661&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00005&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;12183661&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00005&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;12183661&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00005&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;12183702&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my table my expression is =Count(Distinct [Comp.ID]). The table does reduce in overall records, but I am still seeing duplicate Issue Numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is an example of what I am seeing between two tables with one counting all records and the other counting distinct records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2017 00:14:21 GMT</pubDate>
    <dc:creator>jmonroe918</dc:creator>
    <dc:date>2017-02-24T00:14:21Z</dc:date>
    <item>
      <title>Count Distinct function is allowing duplicate records in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-function-is-allowing-duplicate-records-in-table/m-p/1257883#M397187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table chart which contains records that contain duplicate data in&amp;nbsp; same field between them. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Comp.ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Issue Number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;12183594&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00003 &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;12183661&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00005&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;12183661&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00005&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;12183661&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00005&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;12183702&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CC-00006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my table my expression is =Count(Distinct [Comp.ID]). The table does reduce in overall records, but I am still seeing duplicate Issue Numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is an example of what I am seeing between two tables with one counting all records and the other counting distinct records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 00:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-function-is-allowing-duplicate-records-in-table/m-p/1257883#M397187</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2017-02-24T00:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct function is allowing duplicate records in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-function-is-allowing-duplicate-records-in-table/m-p/1257884#M397188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything seems to be correct. You have to be aware of that if you have other dimensions they will create uniqueness for each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is the combination of all dimensions in a chart that determine uniqueness. So what you see is very logical to me and conforms to how QlikView works and should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I create a new chart with ONLY the Comp.ID and Issue Number and the count the repeating/duplicated values for Issue Number disappears.It is the inclusion of PSRI_ID and Item Number that force a duplication in your two charts - that is how it should be....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 01:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-function-is-allowing-duplicate-records-in-table/m-p/1257884#M397188</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-02-24T01:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct function is allowing duplicate records in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-function-is-allowing-duplicate-records-in-table/m-p/1257885#M397189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Comp.ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;,In your application ,distinct chart is still showing the Duplicate item numbers because of u have &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;multiple PSRID AND Item number for&amp;nbsp; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 02:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-function-is-allowing-duplicate-records-in-table/m-p/1257885#M397189</guid>
      <dc:creator />
      <dc:date>2017-02-24T02:36:26Z</dc:date>
    </item>
  </channel>
</rss>

