<?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 IsNull returns Null if value is Null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IsNull-returns-Null-if-value-is-Null/m-p/292192#M709945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further discovery - &lt;/P&gt;&lt;P&gt;I'm using the IsNull() to apply a rule to the data and join the result of the function to the same table that has the field value that I'm checking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to join the field to the table as follows, I get the failure I described:&lt;/P&gt;&lt;P&gt;Left Join (TABLE_A)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY_FIELD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IsNull(VALUE_FIELD) as NullCheck&lt;/P&gt;&lt;P&gt;Resident (TABLE_A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, if I make it a whole new table, it works as I expect it to:&lt;/P&gt;&lt;P&gt;NEW_TABLE:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;KEY_FIELD,&lt;/P&gt;&lt;P&gt;IsNull(VALUE_FIELD) as NullCheck&lt;/P&gt;&lt;P&gt;Resident (TABLE_A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What small peculiarity am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Thanks, Kaushik, I will upload a version when I get a chance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 09:47:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-20T09:47:28Z</dc:date>
    <item>
      <title>IsNull returns Null if value is Null</title>
      <link>https://community.qlik.com/t5/QlikView/IsNull-returns-Null-if-value-is-Null/m-p/292190#M709943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting strange behaviour from the IsNull() function. If there is a value it gives me 0. But if it's Null, the function returns Null and not -1.&lt;/P&gt;&lt;P&gt;If I do a Len() on the value, I also get Null where there is no value, so there really is no value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this behaviour on both 64bit and 32bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 07:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IsNull-returns-Null-if-value-is-Null/m-p/292190#M709943</guid>
      <dc:creator />
      <dc:date>2011-07-20T07:46:16Z</dc:date>
    </item>
    <item>
      <title>IsNull returns Null if value is Null</title>
      <link>https://community.qlik.com/t5/QlikView/IsNull-returns-Null-if-value-is-Null/m-p/292191#M709944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Can you upload the qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 07:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IsNull-returns-Null-if-value-is-Null/m-p/292191#M709944</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-20T07:48:10Z</dc:date>
    </item>
    <item>
      <title>IsNull returns Null if value is Null</title>
      <link>https://community.qlik.com/t5/QlikView/IsNull-returns-Null-if-value-is-Null/m-p/292192#M709945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further discovery - &lt;/P&gt;&lt;P&gt;I'm using the IsNull() to apply a rule to the data and join the result of the function to the same table that has the field value that I'm checking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to join the field to the table as follows, I get the failure I described:&lt;/P&gt;&lt;P&gt;Left Join (TABLE_A)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY_FIELD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IsNull(VALUE_FIELD) as NullCheck&lt;/P&gt;&lt;P&gt;Resident (TABLE_A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, if I make it a whole new table, it works as I expect it to:&lt;/P&gt;&lt;P&gt;NEW_TABLE:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;KEY_FIELD,&lt;/P&gt;&lt;P&gt;IsNull(VALUE_FIELD) as NullCheck&lt;/P&gt;&lt;P&gt;Resident (TABLE_A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What small peculiarity am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Thanks, Kaushik, I will upload a version when I get a chance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 09:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IsNull-returns-Null-if-value-is-Null/m-p/292192#M709945</guid>
      <dc:creator />
      <dc:date>2011-07-20T09:47:28Z</dc:date>
    </item>
    <item>
      <title>IsNull returns Null if value is Null</title>
      <link>https://community.qlik.com/t5/QlikView/IsNull-returns-Null-if-value-is-Null/m-p/292193#M709947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is strange... &lt;/P&gt;&lt;P&gt;What happens if you right this: &lt;/P&gt;&lt;P&gt;Left Join (TABLE_A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY_FIELD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( IsNull(VALUE_FIELD),0,1)&amp;nbsp; as NullCheck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident (TABLE_A)&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Left Join (TABLE_A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY_FIELD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( len(VALUE_FIELD),1,0)&amp;nbsp; as NullCheck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident (TABLE_A)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 22:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IsNull-returns-Null-if-value-is-Null/m-p/292193#M709947</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-07-22T22:32:09Z</dc:date>
    </item>
  </channel>
</rss>

