<?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 Rate Calculation based on Previous Term Amount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rate-Calculation-based-on-Previous-Term-Amount/m-p/190172#M52783</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 typical requirement which is intersting and challenging.&lt;/P&gt;&lt;P&gt;Every month some support gets cancelled for a product. This rate of cancellation has to be calculated with respect to the received amount against that prodcut. this calculation is different for each level(Month, term, quarter and year) of time.&lt;/P&gt;&lt;P&gt;Month calculation = cancellation amouunt of that month/Average of Account receieved amount of previous term.&lt;/P&gt;&lt;P&gt;Hence for 200504, cancellation rate = cancellation amount of 200504/Avg. of previous term&lt;/P&gt;&lt;P&gt;Average of previous term = (sum(Account receivable amount) of previous terms six months)/6 i.e (Amount of 200410+Amount of 200411+amount of 200412+amount of 200501+amount of 200502+amount of 200503)/6&lt;/P&gt;&lt;P&gt;For Quarter = (((Cancellation amount of 1st month of Quater*3) + (CA of 2nd month of Quarter*2)+(CA 3rd month of Quarter*1))/3)/ Avg. Receivable Amount of previous term&lt;/P&gt;&lt;P&gt;for Term = (((Cancellation amount of 1st month of Term*6) + (CA of 2nd month of Term*5)+(CA 3rd month of Term*4)+(Cancellation amount of 4th month of Term*3) + (CA of 5th month of Term*2)+(CA 6th month of Term*1))/6) / Avg. Receivable Amount of previous term&lt;/P&gt;&lt;P&gt;For Year the calculation is entirely different. will put in my next post.&lt;/P&gt;&lt;P&gt;Please let me know how can i get the previous term average. I heard that SET analysis can be done for this type of requirement. Not sure about how to proceed.&lt;/P&gt;&lt;P&gt;Please help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jan 2011 03:55:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-28T03:55:05Z</dc:date>
    <item>
      <title>Rate Calculation based on Previous Term Amount</title>
      <link>https://community.qlik.com/t5/QlikView/Rate-Calculation-based-on-Previous-Term-Amount/m-p/190172#M52783</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 typical requirement which is intersting and challenging.&lt;/P&gt;&lt;P&gt;Every month some support gets cancelled for a product. This rate of cancellation has to be calculated with respect to the received amount against that prodcut. this calculation is different for each level(Month, term, quarter and year) of time.&lt;/P&gt;&lt;P&gt;Month calculation = cancellation amouunt of that month/Average of Account receieved amount of previous term.&lt;/P&gt;&lt;P&gt;Hence for 200504, cancellation rate = cancellation amount of 200504/Avg. of previous term&lt;/P&gt;&lt;P&gt;Average of previous term = (sum(Account receivable amount) of previous terms six months)/6 i.e (Amount of 200410+Amount of 200411+amount of 200412+amount of 200501+amount of 200502+amount of 200503)/6&lt;/P&gt;&lt;P&gt;For Quarter = (((Cancellation amount of 1st month of Quater*3) + (CA of 2nd month of Quarter*2)+(CA 3rd month of Quarter*1))/3)/ Avg. Receivable Amount of previous term&lt;/P&gt;&lt;P&gt;for Term = (((Cancellation amount of 1st month of Term*6) + (CA of 2nd month of Term*5)+(CA 3rd month of Term*4)+(Cancellation amount of 4th month of Term*3) + (CA of 5th month of Term*2)+(CA 6th month of Term*1))/6) / Avg. Receivable Amount of previous term&lt;/P&gt;&lt;P&gt;For Year the calculation is entirely different. will put in my next post.&lt;/P&gt;&lt;P&gt;Please let me know how can i get the previous term average. I heard that SET analysis can be done for this type of requirement. Not sure about how to proceed.&lt;/P&gt;&lt;P&gt;Please help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 03:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rate-Calculation-based-on-Previous-Term-Amount/m-p/190172#M52783</guid>
      <dc:creator />
      <dc:date>2011-01-28T03:55:05Z</dc:date>
    </item>
  </channel>
</rss>

