<?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 Display NullCount(Expression)  values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-NullCount-Expression-values/m-p/283225#M1177931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a slight problem and wondered if you lovely people can help me out here. I'm using the below if statement to display 3 options in a list box:&lt;/P&gt;&lt;P&gt;1. Display accounts with multiple write offs&amp;nbsp; (identified by their installation number)&lt;/P&gt;&lt;P&gt;2. Display accounts with single write offs&lt;/P&gt;&lt;P&gt;3. Display accounts where somehow there was a write-off but for some odd reasons, the installation is coming up as Null &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;if&lt;/STRONG&gt;(&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;count&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;STRONG style="color: #0000ff;"&gt;distinct &lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #008000;"&gt;Installation&lt;/STRONG&gt;) = 1 AND &lt;STRONG style="color: #ff0000;"&gt;count&lt;/STRONG&gt;(&lt;STRONG style="color: #0000ff;"&gt;distinct &lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #008000;"&gt;Document_Number&lt;/STRONG&gt;) &amp;gt;1 AND &lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Installation &lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;&amp;gt; '','Multiple Write Offs Accounts',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: #ff0000;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #ff0000;"&gt;count&lt;/STRONG&gt;(&lt;STRONG style="color: #0000ff;"&gt;distinct &lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #008000;"&gt;Installation&lt;/STRONG&gt;) = 1 AND&amp;nbsp; &lt;STRONG style="color: #ff0000;"&gt;count&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;distinct &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;Document_Number&lt;/SPAN&gt;&lt;/STRONG&gt;)= 1, 'Single Write Offs Accounts',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;STRONG style="color: #ff0000;"&gt;NullCount&lt;/STRONG&gt;(&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Installation&lt;/STRONG&gt;&lt;/SPAN&gt;), 'Write offs where Installation is null' ))) as Write_Off_Segmentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first two work absolutely fine, it's just the 3rd option will only bring a count of one and no data show up. It is recognising something since, the option does come up in the list box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: When i use &lt;STRONG style="color: #ff0000;"&gt;NullCount&lt;/STRONG&gt;(&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Installation&lt;/STRONG&gt;&lt;/SPAN&gt;) in a chart box expression, it does bring the values. So please help me out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2012 09:19:13 GMT</pubDate>
    <dc:creator>buddhabang</dc:creator>
    <dc:date>2012-02-15T09:19:13Z</dc:date>
    <item>
      <title>Display NullCount(Expression)  values</title>
      <link>https://community.qlik.com/t5/QlikView/Display-NullCount-Expression-values/m-p/283225#M1177931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a slight problem and wondered if you lovely people can help me out here. I'm using the below if statement to display 3 options in a list box:&lt;/P&gt;&lt;P&gt;1. Display accounts with multiple write offs&amp;nbsp; (identified by their installation number)&lt;/P&gt;&lt;P&gt;2. Display accounts with single write offs&lt;/P&gt;&lt;P&gt;3. Display accounts where somehow there was a write-off but for some odd reasons, the installation is coming up as Null &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;if&lt;/STRONG&gt;(&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;count&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;STRONG style="color: #0000ff;"&gt;distinct &lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #008000;"&gt;Installation&lt;/STRONG&gt;) = 1 AND &lt;STRONG style="color: #ff0000;"&gt;count&lt;/STRONG&gt;(&lt;STRONG style="color: #0000ff;"&gt;distinct &lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #008000;"&gt;Document_Number&lt;/STRONG&gt;) &amp;gt;1 AND &lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Installation &lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;&amp;gt; '','Multiple Write Offs Accounts',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: #ff0000;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #ff0000;"&gt;count&lt;/STRONG&gt;(&lt;STRONG style="color: #0000ff;"&gt;distinct &lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #008000;"&gt;Installation&lt;/STRONG&gt;) = 1 AND&amp;nbsp; &lt;STRONG style="color: #ff0000;"&gt;count&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;distinct &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;Document_Number&lt;/SPAN&gt;&lt;/STRONG&gt;)= 1, 'Single Write Offs Accounts',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;STRONG style="color: #ff0000;"&gt;NullCount&lt;/STRONG&gt;(&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Installation&lt;/STRONG&gt;&lt;/SPAN&gt;), 'Write offs where Installation is null' ))) as Write_Off_Segmentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first two work absolutely fine, it's just the 3rd option will only bring a count of one and no data show up. It is recognising something since, the option does come up in the list box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: When i use &lt;STRONG style="color: #ff0000;"&gt;NullCount&lt;/STRONG&gt;(&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Installation&lt;/STRONG&gt;&lt;/SPAN&gt;) in a chart box expression, it does bring the values. So please help me out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 09:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-NullCount-Expression-values/m-p/283225#M1177931</guid>
      <dc:creator>buddhabang</dc:creator>
      <dc:date>2012-02-15T09:19:13Z</dc:date>
    </item>
  </channel>
</rss>

