<?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 Returning Null values in date field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Returning-Null-values-in-date-field/m-p/320529#M118133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What about:&amp;nbsp; &lt;EM&gt;Where LEN(TRIM(ASP_DISP_DATE)) &amp;lt; 1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 09:05:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-27T09:05:16Z</dc:date>
    <item>
      <title>Returning Null values in date field</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Null-values-in-date-field/m-p/320526#M118130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon loading a table from a database, I am trying to put a where clause on the load so that it only loads records where the value in a date field reads NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a range of expressions including the simplest I would anticipate working which was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Where "ASS_DISP_DATE" = 'NULL'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with "Ass_Disp_date' being the datefield I want to apply the restriction to. However everything I try returns the following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Conversion failed when converting datetime from charcter string"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody could advise me on the correct syntax that I should be using to solve this problem then it would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 08:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Null-values-in-date-field/m-p/320526#M118130</guid>
      <dc:creator />
      <dc:date>2012-02-27T08:53:15Z</dc:date>
    </item>
    <item>
      <title>Returning Null values in date field</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Null-values-in-date-field/m-p/320527#M118131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are loading from excel file then you can use this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ASS_DISP_DATE" = NULL();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are loading it from database then use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ASS_DISP_DATE"&amp;nbsp; IS NULL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 09:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Null-values-in-date-field/m-p/320527#M118131</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-27T09:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Null values in date field</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Null-values-in-date-field/m-p/320528#M118132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try to convert the date field to string and then see.I think it will work then.Let me know if you need more &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Navin.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 09:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Null-values-in-date-field/m-p/320528#M118132</guid>
      <dc:creator />
      <dc:date>2012-02-27T09:04:52Z</dc:date>
    </item>
    <item>
      <title>Returning Null values in date field</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Null-values-in-date-field/m-p/320529#M118133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What about:&amp;nbsp; &lt;EM&gt;Where LEN(TRIM(ASP_DISP_DATE)) &amp;lt; 1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 09:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Null-values-in-date-field/m-p/320529#M118133</guid>
      <dc:creator />
      <dc:date>2012-02-27T09:05:16Z</dc:date>
    </item>
  </channel>
</rss>

