<?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-using a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Re-using-a-variable/m-p/259897#M98087</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 created a variable in the script using LET &amp;amp; some'peek' functions, which gave the value (2012,2,3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. LET MyVar=peek xxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a result.. MyVar=2012,2,3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now trying to create a 2nd variable date using the 'makeweekdate' function on the above , so it will evaluate 2012,2,3 to give me an actual date for Year 2012, Week 2, Day 3..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. LET MyDate=makeweekdate(MyVar);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it really doesn't like this. Does anyone have any ideas please on correcting this or achieving the same thing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 15:55:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-07T15:55:17Z</dc:date>
    <item>
      <title>Re-using a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Re-using-a-variable/m-p/259897#M98087</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 created a variable in the script using LET &amp;amp; some'peek' functions, which gave the value (2012,2,3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. LET MyVar=peek xxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a result.. MyVar=2012,2,3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now trying to create a 2nd variable date using the 'makeweekdate' function on the above , so it will evaluate 2012,2,3 to give me an actual date for Year 2012, Week 2, Day 3..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. LET MyDate=makeweekdate(MyVar);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it really doesn't like this. Does anyone have any ideas please on correcting this or achieving the same thing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 15:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Re-using-a-variable/m-p/259897#M98087</guid>
      <dc:creator />
      <dc:date>2012-02-07T15:55:17Z</dc:date>
    </item>
    <item>
      <title>Re-using a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Re-using-a-variable/m-p/259898#M98088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET MyDate=makeweekdate($(MyVar));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 16:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Re-using-a-variable/m-p/259898#M98088</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-07T16:16:12Z</dc:date>
    </item>
    <item>
      <title>Re-using a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Re-using-a-variable/m-p/259899#M98089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much !! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 16:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Re-using-a-variable/m-p/259899#M98089</guid>
      <dc:creator />
      <dc:date>2012-02-07T16:20:31Z</dc:date>
    </item>
  </channel>
</rss>

