<?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 Find increment in log table per row in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Find-increment-in-log-table-per-row/m-p/2013311#M83746</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have this nicely working, the logaritmic trend based on actual values. The trend is calculated as following:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;(linest_m(total &amp;lt;COUNTRYCODE, FUELTYPE&amp;gt; aggr(SUM(AVGPERF * NUMUNITS) / SUM(NUMUNITS),COUNTRYCODE, FUELTYPE, STEP),log(STEP)) * Log(STEP)) &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ linest_b(total &amp;lt;COUNTRYCODE, FUELTYPE&amp;gt; aggr(SUM(AVGPERF * NUMUNITS) / SUM(NUMUNITS),COUNTRYCODE, FUELTYPE, STEP),log(STEP))&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Remco_0-1670344624779.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95549i8D746793BC314248/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Remco_0-1670344624779.png" alt="Remco_0-1670344624779.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Where STEP is related to the year. But now I am searching for the yearly increment of the trend, see screenshot as example, what I need is the output as in column 'Increment'.&lt;/P&gt;
&lt;P&gt;It must be in the expression, not in the load statement. In Excel it is just taking the value from a year minus the value of the previous year. I can easily get the cumulative increment but I need the yearly increment. Any idea how to get this?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2022 16:42:54 GMT</pubDate>
    <dc:creator>Remco</dc:creator>
    <dc:date>2022-12-06T16:42:54Z</dc:date>
    <item>
      <title>Find increment in log table per row</title>
      <link>https://community.qlik.com/t5/App-Development/Find-increment-in-log-table-per-row/m-p/2013311#M83746</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have this nicely working, the logaritmic trend based on actual values. The trend is calculated as following:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;(linest_m(total &amp;lt;COUNTRYCODE, FUELTYPE&amp;gt; aggr(SUM(AVGPERF * NUMUNITS) / SUM(NUMUNITS),COUNTRYCODE, FUELTYPE, STEP),log(STEP)) * Log(STEP)) &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ linest_b(total &amp;lt;COUNTRYCODE, FUELTYPE&amp;gt; aggr(SUM(AVGPERF * NUMUNITS) / SUM(NUMUNITS),COUNTRYCODE, FUELTYPE, STEP),log(STEP))&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Remco_0-1670344624779.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95549i8D746793BC314248/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Remco_0-1670344624779.png" alt="Remco_0-1670344624779.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Where STEP is related to the year. But now I am searching for the yearly increment of the trend, see screenshot as example, what I need is the output as in column 'Increment'.&lt;/P&gt;
&lt;P&gt;It must be in the expression, not in the load statement. In Excel it is just taking the value from a year minus the value of the previous year. I can easily get the cumulative increment but I need the yearly increment. Any idea how to get this?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 16:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-increment-in-log-table-per-row/m-p/2013311#M83746</guid>
      <dc:creator>Remco</dc:creator>
      <dc:date>2022-12-06T16:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Find increment in log table per row</title>
      <link>https://community.qlik.com/t5/App-Development/Find-increment-in-log-table-per-row/m-p/2016279#M83947</link>
      <description>&lt;P&gt;Try: RangeSum([Trend],-above[Trend])&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 07:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-increment-in-log-table-per-row/m-p/2016279#M83947</guid>
      <dc:creator>Mario_De_Felipe</dc:creator>
      <dc:date>2022-12-14T07:21:24Z</dc:date>
    </item>
  </channel>
</rss>

