<?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: Makedate() returns null() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741252#M264754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for a fast reply.&lt;/P&gt;&lt;P&gt;I have tried every individual part and the result is:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Udklip.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81136_Udklip.PNG" style="width: 620px; height: 339px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It have worked before but suddenly the application fails to run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Teis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 12:41:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-18T12:41:52Z</dc:date>
    <item>
      <title>Makedate() returns null()</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741249#M264751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently trying to make a data field for a variable, the following scrip returns null()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()-15 ) -1 ) ), &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()-15 )-1 ) ) ), &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Day&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()-15 ) -1 ) )&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;What am I doing wrong here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;/Teis&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 12:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741249#M264751</guid>
      <dc:creator />
      <dc:date>2015-03-18T12:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate() returns null()</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741250#M264752</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;as far as I can see, that &amp;gt;&amp;gt; Monthstart(Today()-15) &amp;lt;&amp;lt; part is wrong - that is supposed to return the start of the month 15 months back, no? There has to be a separating comma - &amp;gt;&amp;gt; Monthstart(Today(), -15) &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;Try that.&lt;/P&gt;&lt;P&gt;It's always a good method to test individual parts of your formula in textboxes on the GUI before you try it in the script.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 12:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741250#M264752</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-18T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate() returns null()</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741251#M264753</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;You are trying to create such date which is not available in year therefore it is giving you -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 12:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741251#M264753</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-03-18T12:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate() returns null()</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741252#M264754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for a fast reply.&lt;/P&gt;&lt;P&gt;I have tried every individual part and the result is:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Udklip.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81136_Udklip.PNG" style="width: 620px; height: 339px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It have worked before but suddenly the application fails to run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Teis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 12:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741252#M264754</guid>
      <dc:creator />
      <dc:date>2015-03-18T12:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate() returns null()</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741253#M264755</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;Your first expression&lt;/P&gt;&lt;P&gt;Year( MonthStart( Today()-15 ) -1 ) returning 2015&lt;/P&gt;&lt;P&gt;num( Month( MonthStart( Today()-15 )-1 ) ) return 2&lt;/P&gt;&lt;P&gt;and Day( MonthEnd( Today()-15 ) -1 ) return 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;therfore date 2015-2-30&lt;/P&gt;&lt;P&gt;which is not possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 12:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741253#M264755</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-03-18T12:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate() returns null()</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741254#M264756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get I now. With your help and understanding I fixed it thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year( MonthStart( Today()-15 ) -1 ),&lt;/P&gt;&lt;P&gt;num( Month( MonthStart( Today()-15 )-1 ) ),&lt;/P&gt;&lt;P&gt;and Day( &lt;STRONG&gt;MonthStart&lt;/STRONG&gt;( Today()-15 ) -1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Teis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 12:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-returns-null/m-p/741254#M264756</guid>
      <dc:creator />
      <dc:date>2015-03-18T12:46:36Z</dc:date>
    </item>
  </channel>
</rss>

