<?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: How to write the following formula ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-the-following-formula/m-p/385620#M144001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition, I tried to calculate the simple average by applying the following formula:&lt;/P&gt;&lt;P&gt;=rangeavg(above(avg(Sales),0,5))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when facing the above weighted average formula, i couldn't think of any solution..... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2012 10:27:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-28T10:27:51Z</dc:date>
    <item>
      <title>How to write the following formula ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-the-following-formula/m-p/385619#M144000</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have problem to write the following formula and appreciate if someone here can help me.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="25692" alt="Average.jpg" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/25692_Average.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Formula in excel is in the picture above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 10:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-the-following-formula/m-p/385619#M144000</guid>
      <dc:creator />
      <dc:date>2012-11-28T10:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the following formula ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-the-following-formula/m-p/385620#M144001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition, I tried to calculate the simple average by applying the following formula:&lt;/P&gt;&lt;P&gt;=rangeavg(above(avg(Sales),0,5))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when facing the above weighted average formula, i couldn't think of any solution..... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 10:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-the-following-formula/m-p/385620#M144001</guid>
      <dc:creator />
      <dc:date>2012-11-28T10:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the following formula ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-the-following-formula/m-p/385621#M144002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;rangesum(sum(Sales)*5,above(sum(Sales))*4,above(sum(Sales),2,1)*3,above(sum(Sales),3,1)*2,above(sum(Sales),4,1) )/15&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 10:44:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-the-following-formula/m-p/385621#M144002</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-28T10:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the following formula ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-the-following-formula/m-p/385622#M144003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Gysbert! &lt;/P&gt;&lt;P&gt;But is there a way that can make this formula more dynamic by changing a day variable (this example here is 5 days and so, variable is 5)? What if I would like to make this formula to calculate 10/20/30 days weighted average?&lt;/P&gt;&lt;P&gt;Sorry that I didn't state very clear before.&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 Nov 2012 15:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-the-following-formula/m-p/385622#M144003</guid>
      <dc:creator />
      <dc:date>2012-11-28T15:44:13Z</dc:date>
    </item>
  </channel>
</rss>

