<?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 Filling in null values in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219816#M72790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;One more suggestion would be instead of using isnull() function. try using len() function since it would detect both null and blank value and in some case isnull() function may not detect null as well. so len() function would be advisable.&lt;/P&gt;&lt;P&gt;you formula would be if(len(Field1) = 0 ,'None',Field1) as Field1&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 07:13:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-22T07:13:59Z</dc:date>
    <item>
      <title>Filling in null values in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219812#M72786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys. I have a table with a number of fields and those fields could have null values. I want to replace those null values with a string 'null' so I can select them. Is there an easy way to do this once the table is resident in QlikView? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 23:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219812#M72786</guid>
      <dc:creator />
      <dc:date>2010-04-20T23:01:44Z</dc:date>
    </item>
    <item>
      <title>Filling in null values in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219813#M72787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can add it in the script level as;&lt;/P&gt;&lt;P&gt;IF(IsNull(Field1),'NULL',Field1) as Field1&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 23:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219813#M72787</guid>
      <dc:creator />
      <dc:date>2010-04-20T23:27:41Z</dc:date>
    </item>
    <item>
      <title>Filling in null values in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219814#M72788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So say I already have the table loaded in the script. Would I do a left join on that table or something? So like this:&lt;/P&gt;&lt;P&gt;LEFT JOIN (MyTable)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;If(IsNull(Field1,'None',Field1) AS Field1,&lt;/P&gt;&lt;P&gt;If(IsNull(Field2,'None',Field2) AS Field2,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;RESIDENT MyTable;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 18:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219814#M72788</guid>
      <dc:creator />
      <dc:date>2010-04-21T18:51:43Z</dc:date>
    </item>
    <item>
      <title>Filling in null values in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219815#M72789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;in your edit script, you can direclty replace the line where you load "field1" with "If(IsNull(Field1,'None',Field1) AS Field1," thix would be enough.&lt;/P&gt;&lt;P&gt;eg..&lt;/P&gt;&lt;P&gt;//old script&lt;/P&gt;&lt;P&gt;load Field1&lt;/P&gt;&lt;P&gt;from ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//new script&lt;/P&gt;&lt;P&gt;load If(IsNull(Field1,'None',Field1) AS Field1,&lt;/P&gt;&lt;P&gt;from...&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ajay Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 04:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219815#M72789</guid>
      <dc:creator>achiever_ajay</dc:creator>
      <dc:date>2010-04-22T04:30:49Z</dc:date>
    </item>
    <item>
      <title>Filling in null values in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219816#M72790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;One more suggestion would be instead of using isnull() function. try using len() function since it would detect both null and blank value and in some case isnull() function may not detect null as well. so len() function would be advisable.&lt;/P&gt;&lt;P&gt;you formula would be if(len(Field1) = 0 ,'None',Field1) as Field1&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 07:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219816#M72790</guid>
      <dc:creator />
      <dc:date>2010-04-22T07:13:59Z</dc:date>
    </item>
    <item>
      <title>Filling in null values in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219817#M72791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I prefer to use Len() instead of IsNull() as well. But if you need to do that in all fields of your datasource, you can check the use of&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;NullAsValue *&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;at the beginning of the script, or NullDisplay, if you are connecting through ODBC. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 07:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-in-null-values-in-a-table/m-p/219817#M72791</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-04-22T07:39:53Z</dc:date>
    </item>
  </channel>
</rss>

