<?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: How to Change NULL in the current date? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390664#M1158025</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;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,if(len(trim(Datefield))=0,Today(),DateField) as Datefieldname;&lt;/P&gt;&lt;P&gt;Select * from tablename;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 13:58:18 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2013-01-03T13:58:18Z</dc:date>
    <item>
      <title>How to Change NULL in the current date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390663#M1158024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using an oracle database (Im using Qlikview personal edition). Im loading columns filled with a date, what i want is to load the current date where the cel is NULL.&lt;/P&gt;&lt;P&gt;Here is a part of the database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 306px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; font-weight: 400; border: white 0.5pt solid;" width="102"&gt;DATE1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: white 0.5pt solid; font-weight: 400; border-right: white 0.5pt solid;" width="102"&gt;DATE2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: white 0.5pt solid; font-weight: 400; border-right: white 0.5pt solid;" width="102"&gt;DATEE3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 306px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; font-weight: 400; border: white 0.5pt solid;" width="102"&gt;17-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: white 0.5pt solid; font-weight: 400; border-right: white 0.5pt solid;" width="102"&gt;20-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: white 0.5pt solid; font-weight: 400; border-right: white 0.5pt solid;" width="102"&gt;20-12-2012 0:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: white 0.5pt solid; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;19-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;19-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;19-12-2012 0:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: white 0.5pt solid; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;20-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;31-12-4000 0:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: white 0.5pt solid; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;24-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;31-12-4000 0:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: white 0.5pt solid; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;27-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;31-12-4000 0:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: white 0.5pt solid; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;27-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;30-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;30-12-2012 0:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: white 0.5pt solid; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;27-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;31-12-4000 0:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: white 0.5pt solid; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;31-12-2012 0:00&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-bottom: white 0.5pt solid; border-left: medium none; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: medium none; font-weight: 400; border-right: white 0.5pt solid;"&gt;31-12-4000 0:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using a chart with the following expression SUM(DATE3 - DATE1 +1). Does somebody now how i can load the NULL's as the current date, so that it will load today as 03-01-2013 and tomorrow as 04-12-2013 (when i refresh my script) etc.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 13:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390663#M1158024</guid>
      <dc:creator />
      <dc:date>2013-01-03T13:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change NULL in the current date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390664#M1158025</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;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,if(len(trim(Datefield))=0,Today(),DateField) as Datefieldname;&lt;/P&gt;&lt;P&gt;Select * from tablename;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 13:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390664#M1158025</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-01-03T13:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change NULL in the current date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390665#M1158026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick response but my expression, which was SUM(DATE3 - DATE1 +1) and now must be SUM(Datefieldname - DATE1 +1) won't work anymore. The connection (if that's the right way to call it) between the colums is lost then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Hmm, it appears i did something wrong, let me try it again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 14:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390665#M1158026</guid>
      <dc:creator />
      <dc:date>2013-01-03T14:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change NULL in the current date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390666#M1158027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Backend try this one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(DATE3=null(),date(Today()),DATE3) as DATE3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will helps u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 05:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390666#M1158027</guid>
      <dc:creator>khadeer</dc:creator>
      <dc:date>2013-01-04T05:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change NULL in the current date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390667#M1158028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(Date3)or Date3 ='',Date(Today()),Date3) as date3 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 05:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-NULL-in-the-current-date/m-p/390667#M1158028</guid>
      <dc:creator />
      <dc:date>2013-01-04T05:57:51Z</dc:date>
    </item>
  </channel>
</rss>

