<?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 Replace Null Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215921#M69323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a mapping Cool I am not sure why a right join is needed ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Feb 2011 20:55:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-14T20:55:39Z</dc:date>
    <item>
      <title>Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215917#M69319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Want to change on Script Side and not In Expression.&lt;/P&gt;&lt;P&gt;1) Tried changing Setnullasvalue;&lt;/P&gt;&lt;P&gt;2) Tried IF (Isnull(Name), ' NoName', 'Name')&lt;/P&gt;&lt;P&gt;Unable to replace nullvalues with 'NoName'&lt;/P&gt;&lt;P&gt;Any Help Plz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 18:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215917#M69319</guid>
      <dc:creator />
      <dc:date>2011-02-14T18:09:35Z</dc:date>
    </item>
    <item>
      <title>Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215918#M69320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found an answer to this problem earlier today when trying to replace NULLs with blanks - can't remember who it was posted by.&lt;/P&gt;&lt;P&gt;Try adding the following to your script before loading:-&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;STRONG&gt;NullMap:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;STRONG&gt;MAPPING LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;STRONG&gt;null(),'NoName'&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;STRONG&gt;AUTOGENERATE 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then after loading the nulls:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;STRONG&gt;MAP &amp;lt;nullfield&amp;gt; using NullMap;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;STRONG&gt;right join (tablename) load distinct * resident tablename;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Not eaxctly clear how it works (I'm a newbie myself), but it seems to do the trick.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Graham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 18:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215918#M69320</guid>
      <dc:creator />
      <dc:date>2011-02-14T18:34:00Z</dc:date>
    </item>
    <item>
      <title>Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215919#M69321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Name='','NoName','Name')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 18:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215919#M69321</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-14T18:38:23Z</dc:date>
    </item>
    <item>
      <title>Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215920#M69322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dude,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to handle NULLS in the script side...then it depends on the database from which (if at all ur source is database tables) you are loading values to qlikview.&lt;/P&gt;&lt;P&gt;for MS SQL db i guess 'isnull' would work...&lt;/P&gt;&lt;P&gt;i worked with MS SQL and then later when i started querying in db2 i found the db2 equivalent as&lt;/P&gt;&lt;H3 id="fcoal"&gt;COALESCE&lt;/H3&gt;&lt;P&gt;[The COALESCE function can also handle a subset of the functions provided by CASE expressions. The result of using COALESCE(e1,e2) is the same as using the expression:&lt;/P&gt;&lt;PRE class="xmp"&gt;CASE WHEN e1 IS NOT NULL THEN e1 ELSE e2 END ]&lt;/PRE&gt;&lt;P&gt;http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db2.doc.sqlref/fcoal.htm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 19:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215920#M69322</guid>
      <dc:creator />
      <dc:date>2011-02-14T19:59:06Z</dc:date>
    </item>
    <item>
      <title>Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215921#M69323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a mapping Cool I am not sure why a right join is needed ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 20:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215921#M69323</guid>
      <dc:creator />
      <dc:date>2011-02-14T20:55:39Z</dc:date>
    </item>
    <item>
      <title>Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215922#M69324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;VinKakarla,&lt;/P&gt;&lt;P&gt;Your 2nd version is correct, with minor change:&lt;BR /&gt;IF(Isnull(Name), ' NoName', Name)&lt;BR /&gt;And, sometimes isnull() function doesn't work properly, so you can use this variation:&lt;BR /&gt;IF(len(trim(Name))=0, ' NoName', Name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 20:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215922#M69324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-14T20:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215923#M69325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;Another possible way to convert nulls and zeros into zeros is to use the RangeSum() function :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;RangeSum("FieldName") as Field&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Any nulls will get converted into zeros.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 10:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/215923#M69325</guid>
      <dc:creator />
      <dc:date>2016-07-06T10:55:49Z</dc:date>
    </item>
  </channel>
</rss>

