<?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 Null fields and or empty string and or ... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Null-fields-and-or-empty-string-and-or/m-p/257963#M707165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHERE LEN(TRIM([Field Name])) should do the selection.&lt;/P&gt;&lt;P&gt;Think that you need to specify the use of the NOT:&lt;/P&gt;&lt;P&gt;WHERE NOT(ISNULL([Field Name])) AND ....&lt;/P&gt;&lt;P&gt;should then work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Jan 2012 21:39:05 GMT</pubDate>
    <dc:creator>prieper</dc:creator>
    <dc:date>2012-01-07T21:39:05Z</dc:date>
    <item>
      <title>Null fields and or empty string and or ...</title>
      <link>https://community.qlik.com/t5/QlikView/Null-fields-and-or-empty-string-and-or/m-p/257962#M707164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q1:&lt;/P&gt;&lt;P&gt;When I pull data and I have a field and the field appears to be either Null, an empty string, or it has a few spaces in it, and when I use the script, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Where not&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Field Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) and Len(trim(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Field Name])&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &amp;gt;0 and it still does not delete those empty lines, what should I do to get rid of them?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Q2:&amp;nbsp; Then just by chance I did this with a resident load, trim([Field Name]) as [Field Name] and it deleted all the lines where Field Name was empty.&amp;nbsp; I did not have any code after that. How did this get rid of empty rows when I only told it to trim them, not delte them?&amp;nbsp; Maybe I am not understanding the use of trim or?&amp;nbsp; Any who, please answer both Q's so I can figure this out.&amp;nbsp; Many Thanks, Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2012 01:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-fields-and-or-empty-string-and-or/m-p/257962#M707164</guid>
      <dc:creator />
      <dc:date>2012-01-07T01:43:53Z</dc:date>
    </item>
    <item>
      <title>Null fields and or empty string and or ...</title>
      <link>https://community.qlik.com/t5/QlikView/Null-fields-and-or-empty-string-and-or/m-p/257963#M707165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHERE LEN(TRIM([Field Name])) should do the selection.&lt;/P&gt;&lt;P&gt;Think that you need to specify the use of the NOT:&lt;/P&gt;&lt;P&gt;WHERE NOT(ISNULL([Field Name])) AND ....&lt;/P&gt;&lt;P&gt;should then work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2012 21:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-fields-and-or-empty-string-and-or/m-p/257963#M707165</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2012-01-07T21:39:05Z</dc:date>
    </item>
  </channel>
</rss>

