<?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 Peek function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Peek-function/m-p/567649#M683687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When and where to use peek function, what is its importance in qlikview scritpting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 09:20:38 GMT</pubDate>
    <dc:creator>marksmunich</dc:creator>
    <dc:date>2014-02-11T09:20:38Z</dc:date>
    <item>
      <title>Peek function</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function/m-p/567649#M683687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When and where to use peek function, what is its importance in qlikview scritpting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 09:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function/m-p/567649#M683687</guid>
      <dc:creator>marksmunich</dc:creator>
      <dc:date>2014-02-11T09:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function/m-p/567650#M683688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is used in Script:&lt;/P&gt;&lt;P&gt;- to populate a local variable (from a table content)&lt;/P&gt;&lt;P&gt;- to populate a row N with a value already loaded (row &amp;lt; N) : to populate an empty value (with a preceeding value), to compute a cumulative sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 09:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function/m-p/567650#M683688</guid>
      <dc:creator />
      <dc:date>2014-02-11T09:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function/m-p/567651#M683689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you provide more explanation , with an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 09:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function/m-p/567651#M683689</guid>
      <dc:creator>marksmunich</dc:creator>
      <dc:date>2014-02-11T09:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function/m-p/567652#M683690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;it is used in script, on output table.&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor47"&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;. 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 , 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>Tue, 11 Feb 2014 09:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function/m-p/567652#M683690</guid>
      <dc:creator />
      <dc:date>2014-02-11T09:30:22Z</dc:date>
    </item>
  </channel>
</rss>

