<?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: Summation to the n-th period in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Summation-to-the-n-th-period/m-p/1056206#M16807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(valueloop(1, n)*CF/pow(1+i),valueloop(1,n)) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jan 2016 14:03:15 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-01-23T14:03:15Z</dc:date>
    <item>
      <title>Summation to the n-th period</title>
      <link>https://community.qlik.com/t5/App-Development/Summation-to-the-n-th-period/m-p/1056205#M16806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all, I'm trying to calculate a formula that uses a summation and I don't know the best way to tackle this. I've played around with loops in the load script and using the aggr() function but can't seem to get it right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three variables that I already have calculated: cash flow (CF), interest rate ( i ) and number of periods (n).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula mathematically looks like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;Σ ( t * CF) / ((1 + i ) ^ t&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;from t=1 to n&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has dealt with this kind of formula before in Qlik I'd greatly appreciate some help. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 14:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Summation-to-the-n-th-period/m-p/1056205#M16806</guid>
      <dc:creator>tsglenn22</dc:creator>
      <dc:date>2016-01-22T14:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Summation to the n-th period</title>
      <link>https://community.qlik.com/t5/App-Development/Summation-to-the-n-th-period/m-p/1056206#M16807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(valueloop(1, n)*CF/pow(1+i),valueloop(1,n)) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 14:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Summation-to-the-n-th-period/m-p/1056206#M16807</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-23T14:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Summation to the n-th period</title>
      <link>https://community.qlik.com/t5/App-Development/Summation-to-the-n-th-period/m-p/1056207#M16808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may also want to have a look in the HELP at the &lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;Financial Aggregation Functions in Charts,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;namely npv() and xnpv() might be of interest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 14:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Summation-to-the-n-th-period/m-p/1056207#M16808</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-23T14:16:02Z</dc:date>
    </item>
  </channel>
</rss>

