<?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: Re: Read next row peek() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599124#M221815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2014 06:47:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-06T06:47:21Z</dc:date>
    <item>
      <title>Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599121#M221812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have an excel file with several fields and the last field is a date, i need read all the fields and create a new field that have the date of the next record, for example:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="400"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="80"&gt;NUMERO&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD width="80"&gt;PASO&amp;nbsp; &lt;/TD&gt;&lt;TD width="80"&gt;ESTATUS&lt;/TD&gt;&lt;TD width="80"&gt;FECHAESTA &lt;/TD&gt;&lt;TD width="80"&gt;New Field&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2000000000&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;04/03/2013&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;20/03/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2000000000&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;20/03/2013&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;22/03/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2000000000&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;9&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;22/03/2013&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;i think that this could be done with peek() but i don't know how.&lt;/P&gt;&lt;P&gt;could somebody help me?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;diego&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 06:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599121#M221812</guid>
      <dc:creator>dcd123456</dc:creator>
      <dc:date>2014-05-06T06:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599122#M221813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the front end solution attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 06:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599122#M221813</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-05-06T06:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599123#M221814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below(FECHAESTA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in New Field Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 06:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599123#M221814</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-05-06T06:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599124#M221815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 06:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599124#M221815</guid>
      <dc:creator />
      <dc:date>2014-05-06T06:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599125#M221816</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;If you need this in script try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD NUMERO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTATUS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FECHAESTA&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[DATA.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is status);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Previous(FECHAESTA) AS NextDate&lt;/P&gt;&lt;P&gt;RESIDENT Temp&lt;/P&gt;&lt;P&gt;ORDER BY NUMERO DESC, PASO DESC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 06:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599125#M221816</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-05-06T06:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599126#M221817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;if i use a qvd file instead an excel file, the peek function don't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any diferences using excel file or qvd files like source data to use peek function??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 12:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599126#M221817</guid>
      <dc:creator>dcd123456</dc:creator>
      <dc:date>2014-05-06T12:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599127#M221818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it works&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;diego&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 12:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599127#M221818</guid>
      <dc:creator>dcd123456</dc:creator>
      <dc:date>2014-05-06T12:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599128#M221819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to use Peek, replace &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Previous&lt;/SPAN&gt; by Peek in Jagan's code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD NUMERO,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASO,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTATUS,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FECHAESTA&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[DATA.xlsx]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is status);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Data:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Peek(FECHAESTA) AS NextDate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT Temp&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ORDER BY NUMERO DESC, PASO DESC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 14:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599128#M221819</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-06T14:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599129#M221820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;why the peek() function don't work if i read the same data from a QVD instead an excel file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;LOAD NUMERO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTATUS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FECHAESTA&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;DATA.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is status);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;data1:&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;resident&lt;/P&gt;&lt;P&gt;data&lt;/P&gt;&lt;P&gt;order by ESTATUS,FECHAESTA,NUMERO asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data2:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;NUMERO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTATUS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FECHAESTA,&lt;/P&gt;&lt;P&gt;peek('FECHAESTA',recno(),'data1') as newfield&lt;/P&gt;&lt;P&gt;resident data1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;diego&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 14:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599129#M221820</guid>
      <dc:creator>dcd123456</dc:creator>
      <dc:date>2014-05-06T14:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Read next row peek()</title>
      <link>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599130#M221821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You missed sorting on field Paso and peek function is not correct. Try this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;[data]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;NUMERO,PASO,ESTATUS,FECHAESTA&lt;/P&gt;&lt;P&gt;2000000000,1,0,04/03/2013&lt;/P&gt;&lt;P&gt;2000000000,2,2,20/03/2013&lt;/P&gt;&lt;P&gt;2000000000,3,9,22/03/2013&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;data1:&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;resident&lt;/P&gt;&lt;P&gt;data&lt;/P&gt;&lt;P&gt;order by NUMERO asc,PASO desc,ESTATUS,FECHAESTA;&lt;/P&gt;&lt;P&gt;Drop table data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data2:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;NUMERO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTATUS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FECHAESTA,&lt;/P&gt;&lt;P&gt;peek(FECHAESTA) as newfield&lt;/P&gt;&lt;P&gt;resident data1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 05:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-next-row-peek/m-p/599130#M221821</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-07T05:28:16Z</dc:date>
    </item>
  </channel>
</rss>

