<?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: Issue with MakeDate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40387#M606427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the only reason is that Month isn't numeric - you could check it with num() or isnum() and maybe adjusting it with num#() or trim() or keepchar() and similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2018 13:28:10 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-04-16T13:28:10Z</dc:date>
    <item>
      <title>Issue with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40384#M606424</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;I'm trying to create a date with MakeDate function in a LOAD, but somehow I get null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="416"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="17" width="101"&gt;TargetName&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: none;" width="95"&gt;Target_Dim&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: none;" width="40"&gt;Month&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: none;" width="41"&gt;Target&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: none;" width="139"&gt;Target_MonthStartDate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script:&lt;/P&gt;&lt;P&gt;Temp_Targets:&lt;/P&gt;&lt;P&gt;LOAD Target_Dim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TargetName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Target,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff9900;"&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp;&amp;nbsp; MakeDate(2018,Month,1) as Target_MonthStartDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vPathTempData)Temp_Targets.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Dafnis X&#xD;
attached QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40384#M606424</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2018-04-16T13:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40385#M606425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works normally for me...Make sure that you are selecting the field from the temp table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;TargetName,Target_Dim,Month,Target, XX&lt;/P&gt;&lt;P&gt;XXX,10,1,10,&lt;/P&gt;&lt;P&gt;XXX,10,2,10,&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drop table T1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40385#M606425</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-16T13:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40386#M606426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your Month field like Jan, Feb, Mar by any chance?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40386#M606426</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-16T13:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40387#M606427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the only reason is that Month isn't numeric - you could check it with num() or isnum() and maybe adjusting it with num#() or trim() or keepchar() and similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40387#M606427</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-04-16T13:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40388#M606428</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;I attached a QVW...it's a number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40388#M606428</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2018-04-16T13:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40389#M606429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but it still doesn't work.&lt;/P&gt;&lt;P&gt;I attached the QVW with the data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:36:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40389#M606429</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2018-04-16T13:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40390#M606430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;MakeDate(2018,MonthNum*1,1) as Target_MonthStartDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;MakeDate(2018,Num#(MonthNum),1) as Target_MonthStartDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40390#M606430</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-16T13:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40391#M606431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were right!&lt;/P&gt;&lt;P&gt;num# solved it. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-MakeDate/m-p/40391#M606431</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2018-04-16T13:39:07Z</dc:date>
    </item>
  </channel>
</rss>

