<?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: Average Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-Calculation/m-p/1298304#M826830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jean and Wallo for your suggestions. Let me work on both suggestions and will get back to you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jul 2017 07:43:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-07-14T07:43:21Z</dc:date>
    <item>
      <title>Average Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation/m-p/1298301#M826826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;I am trying to get the average value for my currency conversion,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;Here is the logic I am trying to apply in QlikView,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;Set vCurrencyEUR = select avg(currency_ rate) where Reimburse_Cur=EUR and Spend_Cur =USD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;Set vCurrencyINR = select avg(currency_ rate)where Reimburse_Cur=INR and Spend_Cur=USD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;Please help me how to convert this into working QlikView scripts.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation/m-p/1298301#M826826</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation/m-p/1298302#M826827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with as expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;=avg( {&amp;lt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;Reimburse_Cur={"EUR"}, &lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;Spend_Cur ={"USD"}&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; &amp;gt;}&amp;nbsp;&amp;nbsp; currency_ rate) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 9.5pt; font-family: 'Arial','sans-serif';"&gt;=avg( {&amp;lt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;Reimburse_Cur={"INR"}, &lt;SPAN style="font-size: 9.5pt; font-family: 'Arial','sans-serif'; color: #222222;"&gt;Spend_Cur ={"USD"}&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; &amp;gt;}&amp;nbsp;&amp;nbsp; currency_ rate) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Set expression not worked in the load script. You must be in front end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 18:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation/m-p/1298302#M826827</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-12T18:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Average Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation/m-p/1298303#M826828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need to build a&amp;nbsp; summary table. Example for first one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EURCurrency:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;avg(currency_rate) as AvgCurrencyRate&lt;/P&gt;&lt;P&gt;Resident YourDataTable&lt;/P&gt;&lt;P&gt;where Reimburse_Cur='EUR' and Spend_Cur='USD';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vCurrencyEUR= peek('AvgCurrencyRate');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table EURCurrency;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 19:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation/m-p/1298303#M826828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-12T19:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation/m-p/1298304#M826830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jean and Wallo for your suggestions. Let me work on both suggestions and will get back to you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 07:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation/m-p/1298304#M826830</guid>
      <dc:creator />
      <dc:date>2017-07-14T07:43:21Z</dc:date>
    </item>
  </channel>
</rss>

