<?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 TextCount vs. Count vs. Count (Distinct) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260971#M499263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to give some more details on how exactly you got 14 because I put the spreadsheet into QV and got 16,16,15, and 16 which is what it should be as far as I know.&amp;nbsp; I can't imagine how count(Unit) could get a different number than count(ChargeAmount)... are you doing this in the script or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jun 2011 21:39:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-02T21:39:12Z</dc:date>
    <item>
      <title>TextCount vs. Count vs. Count (Distinct)</title>
      <link>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260970#M499262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is the table I'm working with.&amp;nbsp;&amp;nbsp;&amp;nbsp; Notice that AccountNumber A817998 shows up twice, and the net ChargeAmount = zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; QV is doing something I don't understand.&amp;nbsp; Using various expressions to count the&amp;nbsp;&amp;nbsp; number of items in he table, I get different results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;TextCount (Unit) = 14.&amp;nbsp; This is also correct, if account A817998 is ignored.&lt;/LI&gt;&lt;LI&gt;Count (Unit) = 14.&amp;nbsp; This is also correct, if account A817998 is ignored. &lt;/LI&gt;&lt;LI&gt;Count (Distinct AccountNumber) = 15.&amp;nbsp; There are indeed 15 accounts in the table, but this expression considers account A817998. &lt;/LI&gt;&lt;LI&gt;Count (ChargeAmount) = 16.&amp;nbsp; There are a total of 16 entries in the table, including both entries for account A817998. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I don't understand is why TextCount (Unit) and Count (Unit) ignore account A817998.&amp;nbsp; That is exactly what I'm trying to do , but I don't understand why QV is ignoring that account. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 18:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260970#M499262</guid>
      <dc:creator />
      <dc:date>2011-06-02T18:51:21Z</dc:date>
    </item>
    <item>
      <title>TextCount vs. Count vs. Count (Distinct)</title>
      <link>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260971#M499263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to give some more details on how exactly you got 14 because I put the spreadsheet into QV and got 16,16,15, and 16 which is what it should be as far as I know.&amp;nbsp; I can't imagine how count(Unit) could get a different number than count(ChargeAmount)... are you doing this in the script or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 21:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260971#M499263</guid>
      <dc:creator />
      <dc:date>2011-06-02T21:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: TextCount vs. Count vs. Count (Distinct)</title>
      <link>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260972#M499264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to reproce your results, but I only got the expected results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check my attachment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 21:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260972#M499264</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-02T21:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: TextCount vs. Count vs. Count (Distinct)</title>
      <link>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260973#M499265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, guys.&amp;nbsp; Attached is a screen capture of my QV screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not doing anything odd in the script.&amp;nbsp; Just loading 3 files (2 QVDs and 1 Excel).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand it either.&amp;nbsp; Maybe I don't understand how TextCount () works.&amp;nbsp; How is it different from Count()?.&amp;nbsp; The help file wasn't very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 12:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260973#M499265</guid>
      <dc:creator />
      <dc:date>2011-06-03T12:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: TextCount vs. Count vs. Count (Distinct)</title>
      <link>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260974#M499266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can include other 'counts' to better understand your result.&lt;/P&gt;&lt;P&gt;Try numericcount(), and nullcount() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count() will ignore nulls&lt;/P&gt;&lt;P&gt;nullcount() only for nulls&lt;/P&gt;&lt;P&gt;numericcount() will count only numbers (ignore text and nulls) &lt;/P&gt;&lt;P&gt;I guess textcount() ignores numbers &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 12:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextCount-vs-Count-vs-Count-Distinct/m-p/260974#M499266</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-03T12:54:45Z</dc:date>
    </item>
  </channel>
</rss>

