<?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 SQL Select Statement for Empty Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Select-Statement-for-Empty-Data/m-p/149553#M27719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, so I am trying to load data but only the ones with the following two criterias:&lt;/P&gt;&lt;P&gt;1. The enddate needs to be greater then today's date or&lt;BR /&gt;2. If enddate is empty then load the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;LOAD uname as Username,&lt;BR /&gt;FROM &lt;Y&gt; (ooxml, embedded labels, table is [test])&lt;BR /&gt;WHERE not(date(enddate,'MM/YYYY') &amp;lt; date(today(), 'MM/YYYY')) or enddate = "";&lt;/Y&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I put the following code into qlikview and I get an error saying Field not found - &amp;lt;&amp;gt;. Does anyone know what I am doing wrong in the code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2009 00:17:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-17T00:17:50Z</dc:date>
    <item>
      <title>SQL Select Statement for Empty Data</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-Statement-for-Empty-Data/m-p/149553#M27719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, so I am trying to load data but only the ones with the following two criterias:&lt;/P&gt;&lt;P&gt;1. The enddate needs to be greater then today's date or&lt;BR /&gt;2. If enddate is empty then load the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;LOAD uname as Username,&lt;BR /&gt;FROM &lt;Y&gt; (ooxml, embedded labels, table is [test])&lt;BR /&gt;WHERE not(date(enddate,'MM/YYYY') &amp;lt; date(today(), 'MM/YYYY')) or enddate = "";&lt;/Y&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I put the following code into qlikview and I get an error saying Field not found - &amp;lt;&amp;gt;. Does anyone know what I am doing wrong in the code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 00:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-Statement-for-Empty-Data/m-p/149553#M27719</guid>
      <dc:creator />
      <dc:date>2009-07-17T00:17:50Z</dc:date>
    </item>
    <item>
      <title>SQL Select Statement for Empty Data</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-Statement-for-Empty-Data/m-p/149554#M27720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with enddate = ' ' --&amp;gt; Single quotes. And make sure enddate field is in your XLS file.&lt;/P&gt;&lt;P&gt;I think you can rewite the whole WHERE line as:&lt;/P&gt;&lt;P&gt;WHERE enddate GE today() or len(enddate)=0;&lt;/P&gt;&lt;P&gt;If nothing works, just post here a sample XLS file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 01:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-Statement-for-Empty-Data/m-p/149554#M27720</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-07-17T01:32:18Z</dc:date>
    </item>
  </channel>
</rss>

