<?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 Calculation using value on next row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207668#M63342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4&gt;Hello,&lt;/H4&gt;&lt;H4&gt;I have a calculation within my script that works out the stock difference from today to a specific date:&lt;/H4&gt;&lt;H4&gt;[Daily Balance] - Cumul AS Balance;&lt;/H4&gt;&lt;H4&gt;My problem that I have encountered, is that the figure I need to deduct to calculation my balance, is the next figure... i.e.&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 342pt; border-collapse: collapse;" width="456"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 90pt; mso-width-source: userset; mso-width-alt: 4388; mso-outline-parent: collapsed;" width="120" /&gt;&lt;COL style="width: 73pt; mso-width-source: userset; mso-width-alt: 3547; mso-outline-parent: collapsed;" width="97" /&gt;&lt;COL style="width: 83pt; mso-width-source: userset; mso-width-alt: 4059; mso-outline-parent: collapsed;" width="111" /&gt;&lt;COL style="width: 96pt; mso-width-source: userset; mso-width-alt: 4681; mso-outline-parent: collapsed;" width="128" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="background-color: whitesmoke; width: 90pt; height: 12.75pt; border: gainsboro 0.5pt solid;" width="120"&gt;&lt;P&gt;&lt;STRONG&gt;BOM Chart - Date&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: whitesmoke; width: 73pt; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;" width="97"&gt;&lt;P&gt;&lt;STRONG&gt;Balance&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: whitesmoke; width: 83pt; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;" width="111"&gt;&lt;P&gt;&lt;STRONG&gt;Change&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: whitesmoke; width: 96pt; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;" width="128"&gt;&lt;P&gt;&lt;STRONG&gt;BOM Chart - Cumul&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40154"&gt;&lt;P&gt;07/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;311580&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-121440&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40156"&gt;&lt;P&gt;09/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;311580&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-21600.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-121440&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40158"&gt;&lt;P&gt;11/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;289980&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-21600.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-99840&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40163"&gt;&lt;P&gt;16/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;268380&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-78240&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40167"&gt;&lt;P&gt;20/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;268380&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-78240&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40169"&gt;&lt;P&gt;22/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;268380&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-78240&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40174"&gt;&lt;P&gt;27/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;268380&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-78240&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;H4&gt;The Cumul is always one behind, as for the 11/12/2009 instead of 289980 it should be 268380. I was wondering if there was an opposite to Peek, so I can use the next figure... Or what you think is best?&lt;/H4&gt;&lt;H4&gt;Your help would be most appreciated!!!&lt;/H4&gt;&lt;H4&gt;Kind Regards,&lt;BR /&gt;Dayna&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2010 17:13:46 GMT</pubDate>
    <dc:creator>Dayna</dc:creator>
    <dc:date>2010-01-11T17:13:46Z</dc:date>
    <item>
      <title>Calculation using value on next row</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207668#M63342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4&gt;Hello,&lt;/H4&gt;&lt;H4&gt;I have a calculation within my script that works out the stock difference from today to a specific date:&lt;/H4&gt;&lt;H4&gt;[Daily Balance] - Cumul AS Balance;&lt;/H4&gt;&lt;H4&gt;My problem that I have encountered, is that the figure I need to deduct to calculation my balance, is the next figure... i.e.&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 342pt; border-collapse: collapse;" width="456"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 90pt; mso-width-source: userset; mso-width-alt: 4388; mso-outline-parent: collapsed;" width="120" /&gt;&lt;COL style="width: 73pt; mso-width-source: userset; mso-width-alt: 3547; mso-outline-parent: collapsed;" width="97" /&gt;&lt;COL style="width: 83pt; mso-width-source: userset; mso-width-alt: 4059; mso-outline-parent: collapsed;" width="111" /&gt;&lt;COL style="width: 96pt; mso-width-source: userset; mso-width-alt: 4681; mso-outline-parent: collapsed;" width="128" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="background-color: whitesmoke; width: 90pt; height: 12.75pt; border: gainsboro 0.5pt solid;" width="120"&gt;&lt;P&gt;&lt;STRONG&gt;BOM Chart - Date&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: whitesmoke; width: 73pt; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;" width="97"&gt;&lt;P&gt;&lt;STRONG&gt;Balance&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: whitesmoke; width: 83pt; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;" width="111"&gt;&lt;P&gt;&lt;STRONG&gt;Change&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: whitesmoke; width: 96pt; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;" width="128"&gt;&lt;P&gt;&lt;STRONG&gt;BOM Chart - Cumul&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40154"&gt;&lt;P&gt;07/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;311580&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-121440&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40156"&gt;&lt;P&gt;09/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;311580&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-21600.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-121440&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40158"&gt;&lt;P&gt;11/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;289980&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-21600.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-99840&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40163"&gt;&lt;P&gt;16/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;268380&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-78240&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40167"&gt;&lt;P&gt;20/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;268380&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-78240&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40169"&gt;&lt;P&gt;22/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;268380&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-78240&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl26" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;" num="40174"&gt;&lt;P&gt;27/12/2009&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;268380&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;&lt;P&gt;-78240&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;H4&gt;The Cumul is always one behind, as for the 11/12/2009 instead of 289980 it should be 268380. I was wondering if there was an opposite to Peek, so I can use the next figure... Or what you think is best?&lt;/H4&gt;&lt;H4&gt;Your help would be most appreciated!!!&lt;/H4&gt;&lt;H4&gt;Kind Regards,&lt;BR /&gt;Dayna&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 17:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207668#M63342</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2010-01-11T17:13:46Z</dc:date>
    </item>
    <item>
      <title>Calculation using value on next row</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207669#M63343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easiest would be to reload the table in DESC-sortorder and then to use the PEEK-function.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 17:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207669#M63343</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2010-01-11T17:19:09Z</dc:date>
    </item>
    <item>
      <title>Calculation using value on next row</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207670#M63344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about something like Peek('field',RowNo(),'table')?&lt;/P&gt;&lt;P&gt;Since peek expects a 0 for the first row, you don't have to add 1 to the RowNo() to get the next row after the current one.&lt;/P&gt;&lt;P&gt;I haven't tried this myself &lt;IMG alt="Wink" src="http://community.qlik.com/emoticons/emotion-5.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 17:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207670#M63344</guid>
      <dc:creator />
      <dc:date>2010-01-11T17:22:39Z</dc:date>
    </item>
    <item>
      <title>Calculation using value on next row</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207671#M63345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do not think that there is much of a difference, if you look ahead by your method or look one record back in a table, which is sorted in a descending order. Might be worth to give it a try...&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 22:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207671#M63345</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2010-01-11T22:25:39Z</dc:date>
    </item>
    <item>
      <title>Calculation using value on next row</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207672#M63346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using the "below" function? I use the "above" function to retrieve the prior months figure so that I can compare it to the current months figure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 23:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-using-value-on-next-row/m-p/207672#M63346</guid>
      <dc:creator />
      <dc:date>2010-01-11T23:57:32Z</dc:date>
    </item>
  </channel>
</rss>

