<?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: Re: set analysis (sum, avg, aggregation...) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569746#M477365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;doesn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Apr 2014 15:37:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-28T15:37:06Z</dc:date>
    <item>
      <title>set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569739#M477358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a list of orders like the following :&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Order ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Currency&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Currency Rate&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Order Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show, in a text box, the sum of all Amount in Euro where :&lt;/P&gt;&lt;P&gt;sum of all Amount in Euro =sum of all orders and for every Order: sum(Amount) * the average of Currency Rate of the current Currency.&lt;/P&gt;&lt;P&gt;that means, the average of Currency is calculated based on all other order having the same currency&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yacine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569739#M477358</guid>
      <dc:creator />
      <dc:date>2014-04-28T14:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569740#M477359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(Aggr(sum(Amount) * Avg(CurrencyRate), OrderNo))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569740#M477359</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-28T15:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569741#M477360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you but this not works&lt;/P&gt;&lt;P&gt;in your expression, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Avg(CurrencyRate)&lt;/SPAN&gt; is equal to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CurrencyRate&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569741#M477360</guid>
      <dc:creator />
      <dc:date>2014-04-28T15:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569742#M477361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think we should add some conditions to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Avg(CurrencyRate)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569742#M477361</guid>
      <dc:creator />
      <dc:date>2014-04-28T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569743#M477362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you post your document?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569743#M477362</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-28T15:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569744#M477363</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;did you try with TOTAL Keyword,&lt;/P&gt;&lt;P&gt;Like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg(TOTAL &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CurrencyRate&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569744#M477363</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-04-28T15:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569745#M477364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attached an example of data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:30:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569745#M477364</guid>
      <dc:creator />
      <dc:date>2014-04-28T15:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569746#M477365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;doesn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569746#M477365</guid>
      <dc:creator />
      <dc:date>2014-04-28T15:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569747#M477366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is my example, let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569747#M477366</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-28T15:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569748#M477367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you but this is not what I want. for this example, we should have 1 currency rate for CHF and 1 currency rate for BRL (for all the data). then, we have to divide every order amount by the currency rate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 16:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569748#M477367</guid>
      <dc:creator />
      <dc:date>2014-04-28T16:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569749#M477368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Amount)*sum(aggr(avg(Currency_Rate), OrderID, Currency))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 16:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569749#M477368</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-04-28T16:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis (sum, avg, aggregation...)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569750#M477369</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;AVG(TOTAL &amp;lt;Currency&amp;gt; Currency_Rate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(Amount)*AVG(TOTAL &amp;lt;Currency&amp;gt; Currency_Rate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 16:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-avg-aggregation/m-p/569750#M477369</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-28T16:16:16Z</dc:date>
    </item>
  </channel>
</rss>

