<?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: Peek,Previous in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763324#M271359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Previous() gets the previous record of the &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;input&lt;/STRONG&gt;&lt;/EM&gt; to the Load statement.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Peek() with only one parameter gets the previous record of the &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;output&lt;/STRONG&gt;&lt;/EM&gt; of the Load statement.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In addition, Peek() can get values from any previously loaded record in any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;HIC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Jan 2015 21:00:17 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-01-25T21:00:17Z</dc:date>
    <item>
      <title>Peek,Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763322#M271357</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;what is the difference between Peek and Previous..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when we use peek and previous...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub2u&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2015 19:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763322#M271357</guid>
      <dc:creator />
      <dc:date>2015-01-25T19:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Peek,Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763323#M271358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is a detailed post here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3048"&gt;Peek() vs Previous() – When to Use Each&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2015 19:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763323#M271358</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-01-25T19:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Peek,Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763324#M271359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Previous() gets the previous record of the &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;input&lt;/STRONG&gt;&lt;/EM&gt; to the Load statement.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Peek() with only one parameter gets the previous record of the &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;output&lt;/STRONG&gt;&lt;/EM&gt; of the Load statement.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In addition, Peek() can get values from any previously loaded record in any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;HIC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2015 21:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763324#M271359</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-01-25T21:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Peek,Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763325#M271360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you plz elaborate &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 05:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763325#M271360</guid>
      <dc:creator />
      <dc:date>2015-05-27T05:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Peek,Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763326#M271361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peek()---&amp;gt; it can be used to reflects the data from qvw internal database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i.e.,If we want to extract particular value from&amp;nbsp; the specified field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here this is the order,1st record starts from 0,2nd rec is 1 and so on -ve numbers indicate order from the end&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default row number is -1 and default table is current table.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Previous()---&amp;gt;it returns the value, using the data from previous input record.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In previous() no need to use single codes around the field name where as peek() it might not works some times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 06:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763326#M271361</guid>
      <dc:creator>satishqlik</dc:creator>
      <dc:date>2015-05-27T06:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Peek,Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763327#M271362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A name="kanchor47"&gt;&lt;/A&gt;&lt;A name="previous"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;previous(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;expression &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; :&lt;/P&gt;&lt;P&gt;Returns the value of &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; using data from the previous input record. In the first record of an internal table the function will return NULL.&amp;nbsp; &lt;/P&gt;&lt;P class="Code" style="margin-left: 40px;"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor48"&gt;&lt;/A&gt;&lt;A name="peek"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;peek(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;fieldname [ , row [ , tablename ] ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the contents of the &lt;SPAN class="Italic"&gt;fieldname&lt;/SPAN&gt; in the record specified by &lt;SPAN class="Italic"&gt;row&lt;/SPAN&gt; in the internal table &lt;SPAN class="Italic"&gt;tablename&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;Fieldname&lt;/SPAN&gt; must be given as a string (e.g. a quoted literal). &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;Row&lt;/SPAN&gt; must be an integer. 0 denotes the first record, 1 the second and so on. Negative numbers indicate order from the end of the table. -1 denotes the last record read. &lt;/P&gt;&lt;P&gt;If no &lt;SPAN class="Italic"&gt;row&lt;/SPAN&gt; is stated, -1 is assumed. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;peek( 'Sales' )&lt;/SPAN&gt; &lt;BR /&gt;returns the value of &lt;SPAN class="Italic"&gt;Sales&lt;/SPAN&gt; in the previous record read ( equivalent to &lt;SPAN class="Bold"&gt;previous(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;Sales&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;) &lt;/SPAN&gt;). &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;peek( 'Sales', 2 )&lt;/SPAN&gt; &lt;BR /&gt;returns the value of &lt;SPAN class="Italic"&gt;Sales&lt;/SPAN&gt; from the third record read from the current internal table. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;peek( 'Sales', -2 )&lt;/SPAN&gt; &lt;BR /&gt;returns the value of &lt;SPAN class="Italic"&gt;Sales&lt;/SPAN&gt; from the second last record read into the current internal table. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;peek( 'Sales', 0, 'Tab1' )&lt;/SPAN&gt; &lt;BR /&gt;returns the value of &lt;SPAN class="Italic"&gt;Sales&lt;/SPAN&gt; from the first record read into the input table labeled Tab1. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 06:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Previous/m-p/763327#M271362</guid>
      <dc:creator>prajapatiamar38</dc:creator>
      <dc:date>2015-05-27T06:54:39Z</dc:date>
    </item>
  </channel>
</rss>

