<?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 Re: handling Null values in Date field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379902#M420806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it helped Surya &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Aug 2017 12:58:11 GMT</pubDate>
    <dc:creator>felipedl</dc:creator>
    <dc:date>2017-08-25T12:58:11Z</dc:date>
    <item>
      <title>handling Null values in Date field</title>
      <link>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379898#M420802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel file with a date field. For other fields wherever there is blank I have used below expression so that I can select them from List box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Make Blank values to Dummy variable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;LEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;TRIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;FIELD&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))=0, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;'UNSPECIFIED'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;FIELD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;FIELD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Now My question is how will apply something similar to above to a date field. I know one option would be to use a Dummy Date. Would it be possible I give the same Unspecified?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379898#M420802</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-08-24T13:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: handling Null values in Date field</title>
      <link>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379899#M420803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could do something like this:&lt;/P&gt;&lt;P&gt;if(not isNum(Date),'UNSPECIFIED',date(Date,'MMM-DD-YYYY')) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the sample data provided in the xlsx file, it gives me the following&lt;/P&gt;&lt;P&gt;Felipe.&lt;IMG alt="Sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174560_Sample.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379899#M420803</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-08-24T13:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: handling Null values in Date field</title>
      <link>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379900#M420804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can try or else you can add any dummy date that recognise as dummy date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF(LEN(TRIM(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;FIELD&lt;/SPAN&gt;))=0, 'UNSPECIFIED',Date(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;FIELD&lt;/SPAN&gt;)) as &lt;/EM&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;&lt;EM&gt;FIELD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379900#M420804</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-24T13:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: handling Null values in Date field</title>
      <link>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379901#M420805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Felip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 12:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379901#M420805</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-08-25T12:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: handling Null values in Date field</title>
      <link>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379902#M420806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it helped Surya &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 12:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/handling-Null-values-in-Date-field/m-p/1379902#M420806</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-08-25T12:58:11Z</dc:date>
    </item>
  </channel>
</rss>

