<?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: difference between peek and field value? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/difference-between-peek-and-field-value/m-p/683492#M1066469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and one more is peek can be used as previous but fieldvalue cannot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Sep 2014 05:46:55 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2014-09-12T05:46:55Z</dc:date>
    <item>
      <title>difference between peek and field value?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-peek-and-field-value/m-p/683489#M1066466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;difference between peek and field value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 05:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-peek-and-field-value/m-p/683489#M1066466</guid>
      <dc:creator />
      <dc:date>2014-09-12T05:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: difference between peek and field value?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-peek-and-field-value/m-p/683490#M1066467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor311"&gt;&lt;/A&gt;&lt;A name="Fieldvalue"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;STRONG&gt;Fieldvalue(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="Italic"&gt;fieldname , n&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Returns the field value found in position &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; of the field &lt;SPAN class="Italic"&gt;fieldname&lt;/SPAN&gt; (by load order). &lt;SPAN class="Italic"&gt;Fieldname&lt;/SPAN&gt; must be given as a string value, e.g. the field name must be enclosed by single quotes. The first field value is returned for &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt;=1. If &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; is larger than the number of field values, NULL is returned.&lt;/P&gt;&lt;P class="note"&gt;Note: This function will only work with distinct field values.&lt;/P&gt;&lt;P class="note"&gt;&lt;/P&gt;&lt;P class="note"&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;&lt;STRONG&gt;peek(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="Italic"&gt;fieldname [ , row [ , tablename ] ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/STRONG&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;. Data are fetched from the associative QlikView database.&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&gt;&lt;SPAN class="Italic"&gt;Tablename&lt;/SPAN&gt; is a table label, see &lt;A class="MCXref_0"&gt;&lt;EM&gt;Table Labels&lt;/EM&gt;&lt;/A&gt;, without the ending colon. If no &lt;SPAN class="Italic"&gt;tablename&lt;/SPAN&gt; is stated, the current table is assumed. If used outside the load statement or referring to another table, the tablename must be included.&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;P&gt;&lt;SPAN class="Code"&gt;Load A, B, numsum( B, peek( 'Bsum' ) ) as Bsum...;&lt;/SPAN&gt; &lt;BR /&gt;creates an accumulation of B in Bsum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 05:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-peek-and-field-value/m-p/683490#M1066467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-12T05:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: difference between peek and field value?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-peek-and-field-value/m-p/683491#M1066468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One major difference:&lt;/P&gt;&lt;P&gt;FieldValue - only works when field values are distinct(which is not the case with Peek).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 05:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-peek-and-field-value/m-p/683491#M1066468</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-09-12T05:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: difference between peek and field value?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-peek-and-field-value/m-p/683492#M1066469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and one more is peek can be used as previous but fieldvalue cannot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 05:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-peek-and-field-value/m-p/683492#M1066469</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-09-12T05:46:55Z</dc:date>
    </item>
  </channel>
</rss>

