<?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 Re: difference between null() and '' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175042#M900178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Null() vs ''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Null () will removes empty records(-),space bars data(&amp;nbsp;&amp;nbsp; ),zero values(0),underscore,hi-fen ...etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but '' will removes only one space bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be i am 50 % correct so please verify yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check with sample data 0,&amp;nbsp;&amp;nbsp; ,_,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jul 2016 12:39:15 GMT</pubDate>
    <dc:creator>ramasaisaksoft</dc:creator>
    <dc:date>2016-07-18T12:39:15Z</dc:date>
    <item>
      <title>difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175034#M900170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use&lt;STRONG&gt; NullAsValue&lt;/STRONG&gt; to convert data without values to some named string, but to some field, it didn't work until I use express like below to create a substitue field. my question is does QV create "blank value"(here is '') other than Null() during my JOIN, or my source data base contains "blank value", and how should I tell when NullAsValue can totally work before I try on checking the existence of "blank value".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(*fieldname='','no value, fieldname)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jia Junqing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175034#M900170</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175035#M900171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be like&amp;nbsp; this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;fieldname),'Novalue',&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;fieldname)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 07:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175035#M900171</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2016-07-18T07:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175036#M900172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(len(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;fieldname)=0,'no-value',&lt;STRONG style="font-style: inherit;"&gt;fieldname)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 07:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175036#M900172</guid>
      <dc:creator />
      <dc:date>2016-07-18T07:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175037#M900173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, Arul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your attention.&lt;/P&gt;&lt;P&gt;my problem is IsNull() didn't work, because the field contains '' instead of Null(). when you use IsNull trying to flag lines with no data in the field, it didn't work, but if you use *fieldname='' to flag then it worked. so my question is in QV, '' doesn't equal to Null()? and how should I replace '' to some named value/string easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jia Junqing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 07:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175037#M900173</guid>
      <dc:creator />
      <dc:date>2016-07-18T07:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175038#M900174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Jacky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works, thank you. but do you know if there's any way simple like NullAsValue? to set at the beginning of the script then replace both '' and Null() to some value/string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jia Junqing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 08:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175038#M900174</guid>
      <dc:creator />
      <dc:date>2016-07-18T08:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175039#M900175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 11px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;NullAsValue&lt;/SPAN&gt; *;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 11px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Set&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #999999;"&gt;NullValue&lt;/SPAN&gt; = 'novalue';&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 11px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 11px; font-family: inherit;"&gt;in load script&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 10:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175039#M900175</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2016-07-18T10:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175040#M900176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best explanation and what you could do in which cases will you find here: &lt;A href="https://community.qlik.com/docs/DOC-3155"&gt;NULL handling in QlikView&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 10:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175040#M900176</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-07-18T10:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175041#M900177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView, being largely a database-oriented application, inherits the concepts of &lt;EM&gt;nothing&lt;/EM&gt;-&lt;EM&gt;invisible empty string&lt;/EM&gt;-&lt;EM&gt;NULL&lt;/EM&gt; from those data storage tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The empty string '' is still a string, while NULL is an artificial indicator that tells you that the data doesn't exist or a field is uninitialized. A NULL value means:&lt;EM&gt; nothing there, ther&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;e is no data, no value, not even an empty string or a single space character&lt;/EM&gt; (which is quite invisible as well).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To grab everything that in our minds comes down to "nothing", we often use a tech&lt;SPAN style="font-size: 13.3333px;"&gt;nique like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;IF (len(trim(ColumnToCheck)) &amp;gt; 0, ColumnToCheck) AS ColumnChecked,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to store NULL instead of empty strings, whitespaces, Null values etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 10:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175041#M900177</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-07-18T10:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175042#M900178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Null() vs ''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Null () will removes empty records(-),space bars data(&amp;nbsp;&amp;nbsp; ),zero values(0),underscore,hi-fen ...etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but '' will removes only one space bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be i am 50 % correct so please verify yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check with sample data 0,&amp;nbsp;&amp;nbsp; ,_,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 12:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175042#M900178</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2016-07-18T12:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175043#M900179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can extend the technique shown here to map both null() and '' to a string.&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewcookbook.com/2013/01/filling-default-values-using-mapping/" title="http://qlikviewcookbook.com/2013/01/filling-default-values-using-mapping/"&gt;Filling Default Values Using Mapping | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note that you don't have to do that extra load at the end unless nulls have been created by Join. If you are just doing regular loads, the following statements should do it. (where fieldname is your field). You can use the same map for multiple fields, Just add more MAP statements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NullMap:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MAPPING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD Evaluate(from), to INLINE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;from, to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;null(), NoValue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;trim(''), NoValue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MAP fieldname USING NullMap;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 16:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175043#M900179</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-18T16:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175044#M900180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use it in scripting. &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;if(len(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;fieldname)=0,'no-value',&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;fieldname) as fieldname&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 02:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175044#M900180</guid>
      <dc:creator />
      <dc:date>2016-07-19T02:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175045#M900181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys! your notes really give me comprehensive view of null() and ''.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 02:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175045#M900181</guid>
      <dc:creator />
      <dc:date>2016-07-20T02:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: difference between null() and ''</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175046#M900182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your question is now answered, please flag the Correct Answer (via the big "Correct Answer" button near every post) and Helpful Answers (found under the Actions menu under every post).&lt;/P&gt;&lt;P&gt;If not, please make clear what part of this topic you still need help with &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 07:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-null-and/m-p/1175046#M900182</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-07-20T07:56:56Z</dc:date>
    </item>
  </channel>
</rss>

