<?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: In load set today date if empty in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/In-load-set-today-date-if-empty/m-p/342606#M1168060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if( len(trim(EndField2))=0, ....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;works also with blank fields or fields that contain only (soft) spaces.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2012 12:47:05 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-08-07T12:47:05Z</dc:date>
    <item>
      <title>In load set today date if empty</title>
      <link>https://community.qlik.com/t5/QlikView/In-load-set-today-date-if-empty/m-p/342604#M1168058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a EndField that are empty if it´s still in progress. For those I want to mark with today date&amp;nbsp; today () &lt;/P&gt;&lt;P&gt;Like this: In a other table the endfield are marked with with 99999999 for the post that are still active. There I use this fomula.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; Date(if(EndField2= 99999999, Today(), Date#(EndField2, 'YYYYMMDD')), 'YYYY-MM-DD') as EndField2, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do it if it´s empty?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it´s to any help the table with the empty endfield all empty post are marked as 0 in i other field, named XXX34&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-load-set-today-date-if-empty/m-p/342604#M1168058</guid>
      <dc:creator />
      <dc:date>2012-08-07T12:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: In load set today date if empty</title>
      <link>https://community.qlik.com/t5/QlikView/In-load-set-today-date-if-empty/m-p/342605#M1168059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IsNull(expr ) &lt;/P&gt;&lt;P&gt;Returns -1 (true) if expr returns NULL, otherwise 0 (false). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Date(if(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;XXX34&lt;/SPAN&gt;= 0, Today(), Date#(EndField2, 'YYYYMMDD')), 'YYYY-MM-DD') as EndField2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;strange field names... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-load-set-today-date-if-empty/m-p/342605#M1168059</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-08-07T12:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: In load set today date if empty</title>
      <link>https://community.qlik.com/t5/QlikView/In-load-set-today-date-if-empty/m-p/342606#M1168060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if( len(trim(EndField2))=0, ....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;works also with blank fields or fields that contain only (soft) spaces.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-load-set-today-date-if-empty/m-p/342606#M1168060</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-07T12:47:05Z</dc:date>
    </item>
  </channel>
</rss>

