<?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 Selecting Null Values in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selecting-Null-Values-in-set-analysis/m-p/224328#M76752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;V8.5&lt;/P&gt;&lt;P&gt;I have been scrawling through a lot of posts trying to find a solution to select Null Values in set analysis. Unfortunately all the answers I found did not seem to work.&lt;/P&gt;&lt;P&gt;Finally I managed to solve the issue myself, so I am just posting this to help any who is stuck in the same position.&lt;/P&gt;&lt;P&gt;I was using set analysis with several modifiers - one being a date field (Mod3) of which I needed to select null values.&lt;/P&gt;&lt;P&gt;I found that using Mod3 = would select all values including Nulls and Mod3 = {'*'} would select all non-null values, but I could not find a way to directly select Null values.&lt;/P&gt;&lt;P&gt;The solution I came up with is:&lt;/P&gt;&lt;P&gt;[Code]&lt;/P&gt;&lt;P&gt;Count ({&amp;lt;Mod1 = {'abc'}, Mod2 = {123},Mod3 = &amp;gt; - &amp;lt;Mod3 = {'*'}&amp;gt;} Distinct Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried the following and many more with no success:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;Count ({&amp;lt;Mod1 = {'abc'}, Mod2 = {123},Mod3 -= {'*'}&amp;gt;} Distinct Field1)&lt;/P&gt;&lt;P&gt;Count ({&amp;lt;Mod1 = {'abc'}, Mod2 = {123},Mod3 = {$(=Null())}&amp;gt;} Distinct Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone else has another way to do this that is tidier, please let me know?&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Apr 2010 20:26:36 GMT</pubDate>
    <dc:creator>jedgson</dc:creator>
    <dc:date>2010-04-25T20:26:36Z</dc:date>
    <item>
      <title>Selecting Null Values in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-Null-Values-in-set-analysis/m-p/224328#M76752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;V8.5&lt;/P&gt;&lt;P&gt;I have been scrawling through a lot of posts trying to find a solution to select Null Values in set analysis. Unfortunately all the answers I found did not seem to work.&lt;/P&gt;&lt;P&gt;Finally I managed to solve the issue myself, so I am just posting this to help any who is stuck in the same position.&lt;/P&gt;&lt;P&gt;I was using set analysis with several modifiers - one being a date field (Mod3) of which I needed to select null values.&lt;/P&gt;&lt;P&gt;I found that using Mod3 = would select all values including Nulls and Mod3 = {'*'} would select all non-null values, but I could not find a way to directly select Null values.&lt;/P&gt;&lt;P&gt;The solution I came up with is:&lt;/P&gt;&lt;P&gt;[Code]&lt;/P&gt;&lt;P&gt;Count ({&amp;lt;Mod1 = {'abc'}, Mod2 = {123},Mod3 = &amp;gt; - &amp;lt;Mod3 = {'*'}&amp;gt;} Distinct Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried the following and many more with no success:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;Count ({&amp;lt;Mod1 = {'abc'}, Mod2 = {123},Mod3 -= {'*'}&amp;gt;} Distinct Field1)&lt;/P&gt;&lt;P&gt;Count ({&amp;lt;Mod1 = {'abc'}, Mod2 = {123},Mod3 = {$(=Null())}&amp;gt;} Distinct Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone else has another way to do this that is tidier, please let me know?&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Apr 2010 20:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-Null-Values-in-set-analysis/m-p/224328#M76752</guid>
      <dc:creator>jedgson</dc:creator>
      <dc:date>2010-04-25T20:26:36Z</dc:date>
    </item>
    <item>
      <title>Selecting Null Values in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-Null-Values-in-set-analysis/m-p/224329#M76753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jay,&lt;/P&gt;&lt;P&gt;I haven't tested it but it may do&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; Mod3 = {"=Len(Mod3) = 0"} &amp;gt;} Distinct Field)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 08:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-Null-Values-in-set-analysis/m-p/224329#M76753</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-04-26T08:07:34Z</dc:date>
    </item>
    <item>
      <title>Selecting Null Values in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-Null-Values-in-set-analysis/m-p/224330#M76754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, this solution worked for me, too. Thanks a bunch!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="margin:0px;"&gt;Count ({&amp;lt;Mod1 = {'abc'}, Mod2 = {123},Mod3 = &amp;gt; - &amp;lt;Mod3 = {'*'}&amp;gt;} Distinct Field1)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 19:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-Null-Values-in-set-analysis/m-p/224330#M76754</guid>
      <dc:creator />
      <dc:date>2010-10-26T19:49:20Z</dc:date>
    </item>
  </channel>
</rss>

