<?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: Compounded Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compounded-Value/m-p/438668#M163520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert - that's good to know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it work when the Value is an expression? For example something like Peek(if (SUM(Value)=0,0, SUM(Value))?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does Value have to refer to the data field that is loaded or can it refer to the Expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example if I load the data field value and I have an expression called Total Value on the chart that is If(SUM(Value)=0,0, SUM(Value)). Do I use Peek(Total Value) or Peek(if (SUM(Value)=0,0, SUM(Value))?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2013 18:10:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-13T18:10:58Z</dc:date>
    <item>
      <title>Compounded Value</title>
      <link>https://community.qlik.com/t5/QlikView/Compounded-Value/m-p/438666#M163518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I have a dataset as follows per below, how can define the Value for any particlar record. In Excel it is pretty striaght forward to defince value as the PreviousCellAbove*(1+r(i)). &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34866" class="jive-image-thumbnail jive-image" onclick="" alt="Compound Value.JPG" src="/legacyfs/online/34866_Compound Value.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use Above to achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 17:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compounded-Value/m-p/438666#M163518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-13T17:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compounded Value</title>
      <link>https://community.qlik.com/t5/QlikView/Compounded-Value/m-p/438667#M163519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if you can do it with above. Somehow I doubt it. But it's pretty easy to do in the script with the peek function: if(rowno()=1,1,peek(Value))*(1+Rate)*100 as Value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 17:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compounded-Value/m-p/438667#M163519</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-13T17:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Compounded Value</title>
      <link>https://community.qlik.com/t5/QlikView/Compounded-Value/m-p/438668#M163520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert - that's good to know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it work when the Value is an expression? For example something like Peek(if (SUM(Value)=0,0, SUM(Value))?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does Value have to refer to the data field that is loaded or can it refer to the Expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example if I load the data field value and I have an expression called Total Value on the chart that is If(SUM(Value)=0,0, SUM(Value)). Do I use Peek(Total Value) or Peek(if (SUM(Value)=0,0, SUM(Value))?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 18:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compounded-Value/m-p/438668#M163520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-13T18:10:58Z</dc:date>
    </item>
  </channel>
</rss>

