<?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 LOAD Blank and Null values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-Blank-and-Null-values/m-p/183082#M48469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are trying to assign a NULL value, use function null(). If you are trying to test for null, there is a function isnull(), but it was proven to return inconsistent results between 32 bit and 64 bit environments.&lt;/P&gt;&lt;P&gt;What most developers use to test for both nulls, empty values and any number of spaces is the following condition:&lt;/P&gt;&lt;P&gt;len(trim(FieldName)) = 0&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jun 2010 23:00:51 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2010-06-09T23:00:51Z</dc:date>
    <item>
      <title>LOAD Blank and Null values</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Blank-and-Null-values/m-p/183080#M48467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;body&amp;gt;&amp;lt;p&amp;gt;I am trying to load blank and null values into the QV load statement. &amp;nbsp;The 'disposition' value has blank and null values. &amp;nbsp;I am not sure of the correct syntax or if this can even be done. &amp;nbsp;I would like a 'list box' to be created that reduces the data based on the flag and dispositions&amp;nbsp;criteria&amp;nbsp;below. &amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;Basically the list box 'Orders' would contain one value called 'Display_Orders.' &amp;nbsp;An end user would then just need to select 'Display_Orders' and the below flags/dispositions&amp;nbsp;would be applied. &amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;&amp;lt;pre class="jive_text_macro jive_macro_code" jivemacro="code" ___default_attr="plain"&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt; LOAD order_no ,complete, completed, quote_flag, disposition, if( quote_flag = 'N' AND disposition is 'NULL', //want this to be a NULL value; AND disposition = ' ', //want this to be blank projected_order; &amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;&amp;lt;and&amp;gt; &amp;lt;/and&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;Let me know if you need anything else or have any other ideas about achieving this. &amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;Thanks for any help. &amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;&amp;nbsp;&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;&amp;nbsp;&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 22:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Blank-and-Null-values/m-p/183080#M48467</guid>
      <dc:creator />
      <dc:date>2010-06-09T22:44:00Z</dc:date>
    </item>
    <item>
      <title>LOAD Blank and Null values</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Blank-and-Null-values/m-p/183081#M48468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your current if statement filter is too strong. I think you want the if statement to be as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;if(quote_flag = 'N' AND (disposition is 'NULL' OR disposition = '' OR disposition = 'B' OR disposition = 'D' OR disposition = 'S'), 'Display_Orders') AS Orders&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Is this of any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 22:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Blank-and-Null-values/m-p/183081#M48468</guid>
      <dc:creator>tabletuner</dc:creator>
      <dc:date>2010-06-09T22:55:00Z</dc:date>
    </item>
    <item>
      <title>LOAD Blank and Null values</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Blank-and-Null-values/m-p/183082#M48469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are trying to assign a NULL value, use function null(). If you are trying to test for null, there is a function isnull(), but it was proven to return inconsistent results between 32 bit and 64 bit environments.&lt;/P&gt;&lt;P&gt;What most developers use to test for both nulls, empty values and any number of spaces is the following condition:&lt;/P&gt;&lt;P&gt;len(trim(FieldName)) = 0&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 23:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Blank-and-Null-values/m-p/183082#M48469</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-06-09T23:00:51Z</dc:date>
    </item>
    <item>
      <title>LOAD Blank and Null values</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Blank-and-Null-values/m-p/183083#M48470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this worked Oleg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 15:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Blank-and-Null-values/m-p/183083#M48470</guid>
      <dc:creator />
      <dc:date>2010-06-10T15:38:27Z</dc:date>
    </item>
  </channel>
</rss>

