<?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: getpossiblecount() to also count Nulls in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614343#M545534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;NullCount( Distinct Field)+GetPossibleCount(Field) &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;works perfectly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Many Thanks,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 15:26:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-08T15:26:27Z</dc:date>
    <item>
      <title>getpossiblecount() to also count Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614339#M545530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Getpossiblecount()&lt;/EM&gt; returns the current number of possible values in a field, however since &lt;EM&gt;null&lt;/EM&gt; is not value per se it is not included in the count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can one get a count of possible values, including &lt;EM&gt;null&lt;/EM&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 13:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614339#M545530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-08T13:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: getpossiblecount() to also count Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614340#M545531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried NullCount function ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 13:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614340#M545531</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-08T13:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: getpossiblecount() to also count Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614341#M545532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A trick just hits mind. Null count would be always one, right? May be you can add 1 to count conditionally like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Index(Field,null()),GetPossibleCount(Field)+1,GetPossibleCount(Field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NullCount( Distinct Field)+GetPossibleCount(Field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 13:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614341#M545532</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-04-08T13:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: getpossiblecount() to also count Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614342#M545533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you wish to count the null values you can probably do this some other way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are a field in a fact table, you cannot really know whether each null is unique or not. If the nulls are in a reference table there must be some lind of other field for reference to count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In either case it is quite often easier to add a field to the table with the content of 1 and then use sum ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 15:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614342#M545533</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-04-08T15:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: getpossiblecount() to also count Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614343#M545534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;NullCount( Distinct Field)+GetPossibleCount(Field) &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;works perfectly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Many Thanks,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 15:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getpossiblecount-to-also-count-Nulls/m-p/614343#M545534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-08T15:26:27Z</dc:date>
    </item>
  </channel>
</rss>

