<?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 Using variables in Load...am having some questions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-variables-in-Load-am-having-some-questions/m-p/228724#M500323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to guess that you need this instead:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LET MaxID2 = date(MaxID,'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;If it doesn't work, I can take a closer look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Feb 2011 02:15:23 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-02-25T02:15:23Z</dc:date>
    <item>
      <title>Using variables in Load...am having some questions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-Load-am-having-some-questions/m-p/228723#M500322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using the below script&lt;BR /&gt;&lt;BR /&gt;MaxKeyLoad:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;load Date(max(RUN_DATE),'YYYY-MM-DD') as MaxID&lt;BR /&gt;from&lt;BR /&gt;V_ETL_HISTORY_EXECUTION.qvd (qvd);&lt;BR /&gt;&lt;BR /&gt;Let MaxID=peek('MaxID',0,MaxKeyLoad);&lt;BR /&gt;&lt;BR /&gt;Let MaxID2=Date($(MaxID),'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i use $(MaxID), it gives the correct date&lt;/P&gt;&lt;P&gt;but since i have used the date value of MaxID into MaxID2, the MaxID2 is not giving the correct date and it shows something like 1905-06-07&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is, can we use the value of one variable into another variable in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-br&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 14:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-Load-am-having-some-questions/m-p/228723#M500322</guid>
      <dc:creator />
      <dc:date>2011-02-24T14:40:13Z</dc:date>
    </item>
    <item>
      <title>Using variables in Load...am having some questions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-Load-am-having-some-questions/m-p/228724#M500323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to guess that you need this instead:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LET MaxID2 = date(MaxID,'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;If it doesn't work, I can take a closer look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 02:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-Load-am-having-some-questions/m-p/228724#M500323</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-02-25T02:15:23Z</dc:date>
    </item>
  </channel>
</rss>

