<?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 Creating an average variable in the Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-an-average-variable-in-the-Load-Script/m-p/981138#M958937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my issue: I want to create a variable (vExchangeRate) that takes the &lt;STRONG&gt;average&lt;/STRONG&gt; of the EUR:USD exchange rates of the last 30 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Forex Table in my data model like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura de pantalla 2015-10-28 a las 1.45.49 PM.png" class="jive-image image-1" src="/legacyfs/online/103339_Captura de pantalla 2015-10-28 a las 1.45.49 PM.png" style="height: 367px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I want to use this variable in a chart to calculate some fees. How could I do this in the Load Script? Is there a better way? I've though of Set analysis but would like to do it in the Load Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 12:47:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-28T12:47:16Z</dc:date>
    <item>
      <title>Creating an average variable in the Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-an-average-variable-in-the-Load-Script/m-p/981138#M958937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my issue: I want to create a variable (vExchangeRate) that takes the &lt;STRONG&gt;average&lt;/STRONG&gt; of the EUR:USD exchange rates of the last 30 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Forex Table in my data model like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura de pantalla 2015-10-28 a las 1.45.49 PM.png" class="jive-image image-1" src="/legacyfs/online/103339_Captura de pantalla 2015-10-28 a las 1.45.49 PM.png" style="height: 367px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I want to use this variable in a chart to calculate some fees. How could I do this in the Load Script? Is there a better way? I've though of Set analysis but would like to do it in the Load Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 12:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-an-average-variable-in-the-Load-Script/m-p/981138#M958937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T12:47:16Z</dc:date>
    </item>
  </channel>
</rss>

