<?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 vs. Not Null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225685#M77952</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;Count({$&amp;lt; [Customer Group 4] = {"=len([Customer Group 4]) &amp;gt; 0"} &amp;gt; } distinct Customer)&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Oct 2010 18:17:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-01T18:17:37Z</dc:date>
    <item>
      <title>Null vs. Not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225681#M77948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning Everyone,&lt;/P&gt;&lt;P&gt;I am trying to populate Accq_Inv_Gross with Inv Gross if Customer Group 4 is not null, and populate Davey_Inv_Gross with Inv_Gross if Customer Group 4 is Null, however my logic must not be correct. Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;If(len([Customer Group 4]) &amp;gt; 0, [Inv Gross],0) as [Accq_Inv_Gross],&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; if(isnull([Customer Group 4]),[Inv Gross],0) as [Davey_Inv_Gross],&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 14:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225681#M77948</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-10-01T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Null vs. Not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225682#M77949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;P&gt;I dont see anything wrong with your logic. What is happening that is not correct?&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&lt;I&gt;PS&lt;/I&gt; I would use len([Customer Group 4])=0 rather than isnull, but that wont change the results&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 14:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225682#M77949</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-10-01T14:55:53Z</dc:date>
    </item>
    <item>
      <title>Null vs. Not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225683#M77950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;P&gt;I agree with Jonathan, that the logic is OK.&lt;/P&gt;&lt;P&gt;Check to see if the actual value you are checking are really null.&lt;/P&gt;&lt;P&gt;If you load numbers from Excel tables, QV will translate nulls on the sheet into "" in QV (blank string rather than a true null).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 15:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225683#M77950</guid>
      <dc:creator />
      <dc:date>2010-10-01T15:53:52Z</dc:date>
    </item>
    <item>
      <title>Null vs. Not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225684#M77951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. It works fine. I changed the isnull to length = 0. I have another question. I want to do a count distinct customers. I tried this but with no luck. I'm having a hard time with the Great Than sign since set analysis also uses it.&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;(len([Customer Group 4]) &amp;gt; 0&amp;gt;} distinct Customer&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 18:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225684#M77951</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-10-01T18:00:57Z</dc:date>
    </item>
    <item>
      <title>Null vs. Not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225685#M77952</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;Count({$&amp;lt; [Customer Group 4] = {"=len([Customer Group 4]) &amp;gt; 0"} &amp;gt; } distinct Customer)&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 18:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225685#M77952</guid>
      <dc:creator />
      <dc:date>2010-10-01T18:17:37Z</dc:date>
    </item>
    <item>
      <title>Null vs. Not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225686#M77953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ivan,&lt;/P&gt;&lt;P&gt;You have just made my Friday and weekend. Thanks for all your help yet again.&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 18:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225686#M77953</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-10-01T18:24:58Z</dc:date>
    </item>
    <item>
      <title>Null vs. Not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225687#M77954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan and Bruce,&lt;/P&gt;&lt;P&gt;You both also made my Friday much more enjoyable. Have a great weekend.&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 18:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-vs-Not-Null/m-p/225687#M77954</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-10-01T18:25:52Z</dc:date>
    </item>
  </channel>
</rss>

