<?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 of 2 or more variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342666#M126558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, do you think it can be used to define the value of a reusable expression like that?&lt;/P&gt;&lt;P&gt;It does not work in Sense variable editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg(&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(eKPI(06)), $(eKPI(07)) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are monthly figures and their average should be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks , Enikö&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 08:10:15 GMT</pubDate>
    <dc:creator>kavicsgym</dc:creator>
    <dc:date>2016-09-28T08:10:15Z</dc:date>
    <item>
      <title>Average of 2 or more variables</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342660#M126552</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;&lt;/P&gt;&lt;P&gt;Who knows how to calculate average of 2 or more variables in a script or an expression?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 20:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342660#M126552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-08T20:23:57Z</dc:date>
    </item>
    <item>
      <title>Average of 2 or more variables</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342661#M126553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want to have a look at the rangeavg() function. Could be used like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;B,&lt;/P&gt;&lt;P&gt;rangeavg(A,B) as Average&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;rangeavg( $(vVal1), $(vVal2) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 20:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342661#M126553</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-08T20:44:55Z</dc:date>
    </item>
    <item>
      <title>Average of 2 or more variables</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342662#M126554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'are right.&lt;/P&gt;&lt;P&gt;I used rangeavg in an expression, didn't work.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 20:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342662#M126554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-08T20:53:57Z</dc:date>
    </item>
    <item>
      <title>Average of 2 or more variables</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342663#M126555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;How does the second method work?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 21:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342663#M126555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-08T21:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Average of 2 or more variables</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342664#M126556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it works using QV variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't sure what you mean with variables, since some people (like in statistics) use the term variable different from the QV usage, where it is used like in software programming (variable in contrast to constant). The term variable used in statistics would be called field or dimension / measure in QV. &lt;/P&gt;&lt;P&gt;Since I don't know what you are after, I posted short samples for both (maybe too short samples). So $(vVal1) and $(vVal2) evaluate the QV variables vVal1 and vVal2 respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if this does not solve your probelm, it would be more important to know what you are after, what your requirements / problems are?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 18:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342664#M126556</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-09T18:29:47Z</dc:date>
    </item>
    <item>
      <title>Average of 2 or more variables</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342665#M126557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I found out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 20:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342665#M126557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-09T20:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Average of 2 or more variables</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342666#M126558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, do you think it can be used to define the value of a reusable expression like that?&lt;/P&gt;&lt;P&gt;It does not work in Sense variable editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg(&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(eKPI(06)), $(eKPI(07)) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are monthly figures and their average should be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks , Enikö&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 08:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342666#M126558</guid>
      <dc:creator>kavicsgym</dc:creator>
      <dc:date>2016-09-28T08:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Average of 2 or more variables</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342667#M126559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, could anyone pls. resolve my question from some month ago, I found a workaround but this would be nicer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg(20, 40)&amp;nbsp; is the definition or my variable in Qlik sense, it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with a nested expression it does not work, can anyone suggest pls why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; $(ePDCA_WSAuslief_Pkd_Total(01)), $(ePDCA_WSAuslief_Pkd_Total(02)) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those 2 expressions are complicated enough... how could I pass their value to RangeAvg?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot! Enikö&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 11:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-2-or-more-variables/m-p/342667#M126559</guid>
      <dc:creator>kavicsgym</dc:creator>
      <dc:date>2017-03-08T11:32:46Z</dc:date>
    </item>
  </channel>
</rss>

