<?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 Qlikview Code help understand in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338365#M124787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;date as tempdate,&lt;/P&gt;&lt;P&gt;date(date#(left(tempdate,10),'MM/DD/YYYY')) as newdate&lt;/P&gt;&lt;P&gt;from ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;date as tempdate,&lt;/P&gt;&lt;P&gt;date(date#(left([date],10),'MM/DD/YYYY')) as newdate&lt;/P&gt;&lt;P&gt;from ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would use the square brackets to identify date as a field and not a function. Like Enrique said tempdate does not exist until the load statement is complete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2012 19:23:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-05T19:23:12Z</dc:date>
    <item>
      <title>Qlikview Code help understand</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338362#M124784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New to QlikView I always get errors while coding and it is due to field being not recognized. Can someone explain me how qlikviwe works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;date as tempdate,&lt;/P&gt;&lt;P&gt;date(date#(left(tempdate,10),'MM/DD/YYYY')) as newdate&lt;/P&gt;&lt;P&gt;from ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above will give me error saying tempdate not recognized, becuase it is within the same Load function. Why does that happen, how can i manipulate a field and make it available right after instead of creating new resident load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 14:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338362#M124784</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2012-06-05T14:42:27Z</dc:date>
    </item>
    <item>
      <title>Qlikview Code help understand</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338363#M124785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps atn"&gt;The "&lt;/SPAN&gt;tempdate" field &lt;SPAN class="hps"&gt;will not exist in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the data model&lt;/SPAN&gt; until the &lt;SPAN class="hps"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;load statement&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;is complete.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;You can try this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load date(date#(left(tempdate,10),'MM/DD/YYYY')) as newdate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;date as tempdate,&lt;/P&gt;&lt;P&gt;from ......;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 14:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338363#M124785</guid>
      <dc:creator />
      <dc:date>2012-06-05T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Qlikview Code help understand</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338364#M124786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried that but then it ignores the load statement after and does not load any date from full load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to load a table with correct date field. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 18:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338364#M124786</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2012-06-05T18:16:04Z</dc:date>
    </item>
    <item>
      <title>Qlikview Code help understand</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338365#M124787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;date as tempdate,&lt;/P&gt;&lt;P&gt;date(date#(left(tempdate,10),'MM/DD/YYYY')) as newdate&lt;/P&gt;&lt;P&gt;from ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;date as tempdate,&lt;/P&gt;&lt;P&gt;date(date#(left([date],10),'MM/DD/YYYY')) as newdate&lt;/P&gt;&lt;P&gt;from ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would use the square brackets to identify date as a field and not a function. Like Enrique said tempdate does not exist until the load statement is complete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 19:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338365#M124787</guid>
      <dc:creator />
      <dc:date>2012-06-05T19:23:12Z</dc:date>
    </item>
    <item>
      <title>Qlikview Code help understand</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338366#M124788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, the load statement should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load date(date#(left(tempdate,10),'MM/DD/YYYY')) as newdate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL Select &lt;/P&gt;&lt;P&gt;date as tempdate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //without ","&lt;/P&gt;&lt;P&gt;from Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 04:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Code-help-understand/m-p/338366#M124788</guid>
      <dc:creator />
      <dc:date>2012-06-06T04:47:48Z</dc:date>
    </item>
  </channel>
</rss>

