<?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: AVG on formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523429#M1140639</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;Try to do this on the script level like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load&lt;/SPAN&gt; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;a)&lt;/SPAN&gt;+&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;b&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;c&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;formula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;from&lt;/SPAN&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the expression put &lt;SPAN style="color: #0000ff;"&gt;avg&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;formula&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Sep 2013 12:26:50 GMT</pubDate>
    <dc:creator>ariel_klien</dc:creator>
    <dc:date>2013-09-15T12:26:50Z</dc:date>
    <item>
      <title>AVG on formula</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523428#M1140637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a formula field&amp;nbsp; that looks like this “sum(a)+sum(b)/sum(c)”&lt;/P&gt;&lt;P&gt;I need to do avg on this formula without changing the field formula.&lt;/P&gt;&lt;P&gt;Tried avg(formula) it didn’t work. Any ideas ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 11:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523428#M1140637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-15T11:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: AVG on formula</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523429#M1140639</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;Try to do this on the script level like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load&lt;/SPAN&gt; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;a)&lt;/SPAN&gt;+&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;b&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;c&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;formula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;from&lt;/SPAN&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the expression put &lt;SPAN style="color: #0000ff;"&gt;avg&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;formula&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 12:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523429#M1140639</guid>
      <dc:creator>ariel_klien</dc:creator>
      <dc:date>2013-09-15T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: AVG on formula</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523430#M1140641</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;Avg() means that you have a set of results of your formula. Suppose that you want to get the average of&amp;nbsp; a set that is provided by dimension Dim. Then you could write an expression:&lt;/P&gt;&lt;P&gt;=avg(aggr(fourmula, Dim))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 12:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523430#M1140641</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-09-15T12:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: AVG on formula</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523431#M1140642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried Avg((a+b)/c)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 13:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523431#M1140642</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2013-09-15T13:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: AVG on formula</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523432#M1140644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you missed out the brackets in your formula?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(sum(a)+sum(b))/sum(c)&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;thanks,&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;Rajesh Vaswani&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 13:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523432#M1140644</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2013-09-15T13:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: AVG on formula</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523433#M1140645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi as far as i know&lt;/P&gt;&lt;P&gt;if you want to do an average on sum function you need to define the dimension on which you calculate the average&lt;/P&gt;&lt;P&gt;let say you want to do average for customer then you'll expression will look&lt;/P&gt;&lt;P&gt;avg(aggr(Formula,Customer))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 13:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-on-formula/m-p/523433#M1140645</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2013-09-15T13:46:19Z</dc:date>
    </item>
  </channel>
</rss>

