<?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 Select Nulls in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211452#M65713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I listed a short example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 21:24:00 GMT</pubDate>
    <dc:creator>agsearle</dc:creator>
    <dc:date>2009-10-08T21:24:00Z</dc:date>
    <item>
      <title>Select Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211450#M65711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to be able to select nulls in a list box. The solution that keeps coming up is to add the bolded text in my script below:&lt;/P&gt;&lt;P&gt;TABLE1:&lt;BR /&gt;LOAD CA&lt;BR /&gt;FROM [xxx]&lt;/P&gt;&lt;P&gt;TABLE2:&lt;BR /&gt;LOAD CA,&lt;BR /&gt;&lt;STRONG&gt;IF(LEN(Lock_Reason) = 0, 'No_Lock', Lock_Reason) as Lock_Reason&lt;/STRONG&gt;&lt;BR /&gt;WHERE EXISTS (CA)&lt;BR /&gt;FROM [xxx]&lt;/P&gt;&lt;P&gt;The data in table 2 contains Lock Reasons (codes from A to Z), but not all the CA's in table 1 have one. From a list box I need to select all Lock Reasons including blanks (Nulls) except lock V.&lt;/P&gt;&lt;P&gt;No matter what I do the blanks remain with '-'s. However, if I change the '0' to a '1' for the length, all the locks show 'No_Locks'?&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211450#M65711</guid>
      <dc:creator>agsearle</dc:creator>
      <dc:date>2009-10-08T20:50:18Z</dc:date>
    </item>
    <item>
      <title>Select Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211451#M65712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;do you have a short example you can share?&lt;/P&gt;&lt;P&gt;Hints: Look for "trim" and related functions in QV help.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211451#M65712</guid>
      <dc:creator />
      <dc:date>2009-10-08T20:58:27Z</dc:date>
    </item>
    <item>
      <title>Select Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211452#M65713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I listed a short example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 21:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211452#M65713</guid>
      <dc:creator>agsearle</dc:creator>
      <dc:date>2009-10-08T21:24:00Z</dc:date>
    </item>
    <item>
      <title>Select Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211453#M65714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone have any ideas how I can get this to work please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 20:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211453#M65714</guid>
      <dc:creator>agsearle</dc:creator>
      <dc:date>2009-10-12T20:00:19Z</dc:date>
    </item>
    <item>
      <title>Select Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211454#M65715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For select the null values in listbox you have to use the NullAsValue in your script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 20:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211454#M65715</guid>
      <dc:creator />
      <dc:date>2009-10-12T20:19:45Z</dc:date>
    </item>
    <item>
      <title>Select Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211455#M65716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A QlikView join where values are missing still leaves the values missing - they do not exist and QlikView does not define them, unlike other databases where it does define them and set them to a NULL value. You need to make them exist, then change the NULL value to your default. Create a single table using a join...&lt;/P&gt;&lt;P&gt;TABLE1:&lt;BR /&gt;LOAD CA&lt;BR /&gt;FROM [xxx]&lt;BR /&gt;&lt;BR /&gt;left join TABLE1:&lt;BR /&gt;LOAD CA,&lt;BR /&gt;Lock_Reason&lt;BR /&gt;WHERE EXISTS (CA)&lt;BR /&gt;FROM [xxx]&lt;BR /&gt;&lt;BR /&gt;NullMap:&lt;BR /&gt;mapping LOAD&lt;BR /&gt; null(), 'No lock'&lt;BR /&gt;AUTOGENERATE 1;&lt;BR /&gt;&lt;BR /&gt;map Lock_Reason using NullMap;&lt;BR /&gt;right join (TABLE1) LOAD DISTINCT&lt;BR /&gt; *&lt;BR /&gt;RESIDENT TABLE1;&lt;/P&gt;&lt;P&gt;The mapping load will change the NULLS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 20:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211455#M65716</guid>
      <dc:creator />
      <dc:date>2009-10-12T20:32:44Z</dc:date>
    </item>
    <item>
      <title>Select Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211456#M65717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ivang, that seems to have done the job!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 21:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211456#M65717</guid>
      <dc:creator>agsearle</dc:creator>
      <dc:date>2009-10-12T21:59:08Z</dc:date>
    </item>
    <item>
      <title>Select Nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211457#M65718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User &lt;STRONG&gt;NullAsValue Lock_Reason;&lt;/STRONG&gt; before the load statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 05:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Nulls/m-p/211457#M65718</guid>
      <dc:creator />
      <dc:date>2009-10-13T05:18:44Z</dc:date>
    </item>
  </channel>
</rss>

