<?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 How to refer to Null Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-refer-to-Null-Values/m-p/393899#M146866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As par tof my data load I am loading a series of small files that have names for variables that are found elsewhere, for example I may have a variable called Region that contains numbers (1,2,3,4...),and the name file would look like ( i am using the order on a dual statement to prevent sorting by the name and use the order the company likes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Region&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp; Order&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Europe&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Africa&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;(the file is tab delimited)&lt;/P&gt;&lt;P&gt;The problem I am having is that in some variables there are Null values given how the data is coded, and that is fine, I wuld like to add a line like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;(where * would signify a Null)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is all analogous to defining a format in SAS in my mind, I do not want to ignore the nulls or show the as nulls, I want to group them into an other category&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how do I refer to the Null, I tried using noting and the tab, or a space and nothjing is working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize that I can eliminat the nulls in the load, or in the source, but this is simpler inmy mind&amp;nbsp; and more elegant (I am a fan of how SAS uses formats for things like these)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 21:14:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-01T21:14:25Z</dc:date>
    <item>
      <title>How to refer to Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-to-Null-Values/m-p/393899#M146866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As par tof my data load I am loading a series of small files that have names for variables that are found elsewhere, for example I may have a variable called Region that contains numbers (1,2,3,4...),and the name file would look like ( i am using the order on a dual statement to prevent sorting by the name and use the order the company likes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Region&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp; Order&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Europe&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Africa&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;(the file is tab delimited)&lt;/P&gt;&lt;P&gt;The problem I am having is that in some variables there are Null values given how the data is coded, and that is fine, I wuld like to add a line like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;(where * would signify a Null)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is all analogous to defining a format in SAS in my mind, I do not want to ignore the nulls or show the as nulls, I want to group them into an other category&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how do I refer to the Null, I tried using noting and the tab, or a space and nothjing is working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize that I can eliminat the nulls in the load, or in the source, but this is simpler inmy mind&amp;nbsp; and more elegant (I am a fan of how SAS uses formats for things like these)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 21:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-to-Null-Values/m-p/393899#M146866</guid>
      <dc:creator />
      <dc:date>2012-11-01T21:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to refer to Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-to-Null-Values/m-p/393900#M146867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try these expression in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (isnull(region)=0, region,unkown)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(LEN(TRIM(region)) = 0, 'unknown', region)&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 22:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-to-Null-Values/m-p/393900#M146867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-01T22:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to refer to Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-to-Null-Values/m-p/393901#M146868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot refer to NULLs as the are. But you can identify them in the script, like srikanthsri1 suggests. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See more on &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-3155"&gt;http://community.qlik.com/docs/DOC-3155&lt;/A&gt;. There you will find an extensive explanation of how to do it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 12:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-to-Null-Values/m-p/393901#M146868</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-11-02T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to refer to Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-to-Null-Values/m-p/393902#M146869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for the Help. I added a per load to code the nulls as something else and then modified my little table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice if twit could be done like sas formats, but this is not bad at all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 12:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-to-Null-Values/m-p/393902#M146869</guid>
      <dc:creator />
      <dc:date>2012-11-02T12:50:41Z</dc:date>
    </item>
  </channel>
</rss>

