<?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 Null count issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545232#M1124212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to make the Null values appear in list boxes and be selectable, we use the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NullAsValue *;&lt;/P&gt;&lt;P&gt;Set NullDisplay = '&amp;lt;NULL&amp;gt;';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, now, if we want to count the number of null elements, the nullcount function no longer works in a statistics box (it returns zero even though there are null elements). Is there anyway to fix this? Would it involve making a custom function (and how would one construct such a custom function)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2014 17:04:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-21T17:04:35Z</dc:date>
    <item>
      <title>Null count issue</title>
      <link>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545232#M1124212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to make the Null values appear in list boxes and be selectable, we use the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NullAsValue *;&lt;/P&gt;&lt;P&gt;Set NullDisplay = '&amp;lt;NULL&amp;gt;';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, now, if we want to count the number of null elements, the nullcount function no longer works in a statistics box (it returns zero even though there are null elements). Is there anyway to fix this? Would it involve making a custom function (and how would one construct such a custom function)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 17:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545232#M1124212</guid>
      <dc:creator />
      <dc:date>2014-01-21T17:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Null count issue</title>
      <link>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545233#M1124214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Stephen&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression with set analysis should work.&amp;nbsp; [Replace&lt;EM&gt; [YourField]&lt;/EM&gt; with your field name]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =count( { &amp;lt;[YourField]={&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'&amp;lt;NULL&amp;gt;'&lt;/SPAN&gt;} &amp;gt; } [YourField] )&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, 21 Jan 2014 17:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545233#M1124214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T17:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Null count issue</title>
      <link>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545234#M1124216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One solution could be if you load your field of interest for example - Field1 twice in the script something like this&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field1 as Field1_&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;NullAsValue *;&lt;/P&gt;&lt;P&gt;NullAsNull Field1_;&lt;/P&gt;&lt;P&gt;Set NullDisplay = '&amp;lt;NULL&amp;gt;';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field1_&lt;/P&gt;&lt;P&gt;resident Table1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 17:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545234#M1124216</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2014-01-21T17:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Null count issue</title>
      <link>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545235#M1124218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill! This works for the pivot table, but there's I can't figure out how to include an expression in the statistics box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 18:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545235#M1124218</guid>
      <dc:creator />
      <dc:date>2014-01-21T18:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Null count issue</title>
      <link>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545236#M1124220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Stephen&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bit of a bodge, but you could put that expression in a text box and the place it over the statistics box so it appears over the figure you don't want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe you could try the suggestion &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/iktrayanov"&gt;iktrayanov&lt;/A&gt;&lt;/STRONG&gt; posted.&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, 21 Jan 2014 19:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-count-issue/m-p/545236#M1124220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T19:02:33Z</dc:date>
    </item>
  </channel>
</rss>

