<?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: Getting the previous row and calculate. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434005#M700841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Oct 2012 14:46:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-20T14:46:54Z</dc:date>
    <item>
      <title>Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/433997#M700833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and Good Day, I'm currently new in QlikView and I say this is one powerful B.I Tool.&lt;/P&gt;&lt;P&gt;I'm still learning and I need to solve something..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;Value1&lt;/SPAN&gt;&lt;BR /&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2000 &lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;3000 &lt;/TD&gt;&lt;TD&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;2000 &lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D4&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1500 &lt;/TD&gt;&lt;TD&gt;-500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D5&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;-1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D6&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1000&lt;/TD&gt;&lt;TD&gt;..&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to compute for Value1 depending on the ID.&lt;/P&gt;&lt;P&gt;The computation is d2-d1, d4-d3, d5-d4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find it hard to explain, but I just need to compute for Value1 depending on the next Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and Good Day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S This is for scripting Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 11:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/433997#M700833</guid>
      <dc:creator />
      <dc:date>2012-10-19T11:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/433998#M700834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I d'ont really understand your need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are your data when you load it, and what do you expect to do in the script exactly ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 11:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/433998#M700834</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2012-10-19T11:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/433999#M700835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is from excel file. i loaded it.. and it has a lot of sheets.. so there is a for loop inside..&lt;/P&gt;&lt;P&gt;I have a field I need to compute. As I have said above, the results should be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value1&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1500&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 11:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/433999#M700835</guid>
      <dc:creator />
      <dc:date>2012-10-19T11:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434000#M700836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&amp;nbsp; expression&amp;nbsp; in Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above([Value])-[Value]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this expression ,u get result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 12:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434000#M700836</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2012-10-19T12:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434001#M700837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I will try this in the expression, but I prefer it in the script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 12:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434001#M700837</guid>
      <dc:creator />
      <dc:date>2012-10-19T12:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434002#M700838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Peek(ID)=ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value-Peek(Value),0) as Value1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure your data are ordered by ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 12:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434002#M700838</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2012-10-19T12:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434003#M700839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try this one, can you give me an example if possible? thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 12:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434003#M700839</guid>
      <dc:creator />
      <dc:date>2012-10-19T12:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434004#M700840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your computation, yes it is working but the first value should be the one with the '-'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 13:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434004#M700840</guid>
      <dc:creator />
      <dc:date>2012-10-19T13:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434005#M700841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Oct 2012 14:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434005#M700841</guid>
      <dc:creator />
      <dc:date>2012-10-20T14:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434006#M700842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 02:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434006#M700842</guid>
      <dc:creator />
      <dc:date>2012-10-22T02:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434007#M700843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my problem is like this &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/240999"&gt;http://community.qlik.com/message/240999&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but i need to compute base on the ID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 03:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434007#M700843</guid>
      <dc:creator />
      <dc:date>2012-10-22T03:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434008#M700844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;I tried your computation, yes it is working but the first value should be the one with the '-'&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand this requirement. Can you explain more or share data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 09:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434008#M700844</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2012-10-22T09:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434009#M700846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that my data peeks in other rows, i don't know why it works like that.&lt;/P&gt;&lt;P&gt;attached file is what i'm testing..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 00:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434009#M700846</guid>
      <dc:creator />
      <dc:date>2012-10-23T00:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434010#M700848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use Previous() to access the last row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value - Previous( Value ) as Value1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source&lt;/P&gt;&lt;P&gt;ORDER BY &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 05:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434010#M700848</guid>
      <dc:creator />
      <dc:date>2012-10-23T05:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434011#M700849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There are several functions in qlikview to get the values from the previously loaded rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try out Previous and peek functions. you can find beautiful descriptions from QlikView Help Menu or Press F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrew Hudson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 05:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434011#M700849</guid>
      <dc:creator>adhudson</dc:creator>
      <dc:date>2012-10-23T05:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434012#M700850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for replies &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;alhough i'm still having problem regarding my data.&lt;/P&gt;&lt;P&gt;I think the problem is because there is a date field. I have attached my .qvw, you can check it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 06:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434012#M700850</guid>
      <dc:creator />
      <dc:date>2012-10-23T06:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434013#M700851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 03:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434013#M700851</guid>
      <dc:creator />
      <dc:date>2012-10-24T03:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434014#M700852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;if([Plate Number] = Peek([Plate Number]), [Odometer Reading] - Peek([Odometer Reading],0)) as peek&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why &lt;CODE&gt;Peek([Odometer Reading]&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;,0&lt;/STRONG&gt;&lt;/SPAN&gt;))?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Do you really want substract the first value from the table in every row?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13510576498241268" jivemacro_uid="_13510576498241268"&gt;&lt;P&gt;left join(A)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Plate Number] = Previous([Plate Number]), [Odometer Reading] - Previous([Odometer Reading])) as new_peek&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;Order by Date, Time;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an expample enclosed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 05:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434014#M700852</guid>
      <dc:creator />
      <dc:date>2012-10-24T05:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434015#M700853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow thank you very much! &lt;/P&gt;&lt;P&gt;I would try to apply it now to my work. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 06:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434015#M700853</guid>
      <dc:creator />
      <dc:date>2012-10-24T06:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the previous row and calculate.</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434016#M700854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;edit : didin't see you had a correct answer before...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 10:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-previous-row-and-calculate/m-p/434016#M700854</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2012-10-24T10:11:38Z</dc:date>
    </item>
  </channel>
</rss>

