<?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: what is peek function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523066#M195445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shivali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find it in the Qlikview Help..&lt;/P&gt;&lt;P&gt;simple defination&lt;/P&gt;&lt;P&gt;Peek(): can return data from any row based on the row mention in the function....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Nov 2013 08:22:46 GMT</pubDate>
    <dc:creator>Nagaraju_KCS</dc:creator>
    <dc:date>2013-11-14T08:22:46Z</dc:date>
    <item>
      <title>what is peek function?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523059#M195438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is peek function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 07:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523059#M195438</guid>
      <dc:creator />
      <dc:date>2013-11-14T07:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: what is peek function?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523060#M195439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find it in the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use it outside a load in the script you can get a value from a table cell by pointing to row number and field name. In a load you can look on a other dataset of the load. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 07:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523060#M195439</guid>
      <dc:creator>jonasheisterkam</dc:creator>
      <dc:date>2013-11-14T07:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: what is peek function?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523061#M195440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you gone through help?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P class="syntax"&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;peek&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN class="italic"&gt;fieldname [ , row [ , tablename ] ] &lt;/SPAN&gt;&lt;SPAN class="bold"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Returns the contents of the &lt;SPAN class="italic"&gt;fieldname&lt;/SPAN&gt; in the&lt;BR /&gt;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&lt;BR /&gt;database.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&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&lt;BR /&gt;literal).&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="italic"&gt;Row&lt;/SPAN&gt; must be an integer. 0 denotes the first&lt;BR /&gt;record, 1 the second and so on. Negative numbers indicate order from the end of&lt;BR /&gt;the table. -1 denotes the last record read.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&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;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="italic"&gt;Tablename&lt;/SPAN&gt; is a table label, see &lt;A&gt;&lt;EM&gt;Table Labels&lt;/EM&gt;&lt;/A&gt;, without the ending&lt;BR /&gt;colon. If no &lt;SPAN class="italic"&gt;tablename&lt;/SPAN&gt; is stated, the current table&lt;BR /&gt;is assumed. If used outside the load statement or referring to another table,&lt;BR /&gt;the tablename must be included.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P class="example"&gt;Examples:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="code"&gt;peek( 'Sales' )&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;returns the value of &lt;SPAN class="italic"&gt;Sales&lt;/SPAN&gt; in the previous record&lt;BR /&gt;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;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="code"&gt;peek( 'Sales', 2 )&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;returns the value of &lt;SPAN class="italic"&gt;Sales&lt;/SPAN&gt; from the third record read&lt;BR /&gt;from the current internal table.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="code"&gt;peek( 'Sales', -2 )&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;returns the value of &lt;SPAN class="italic"&gt;Sales&lt;/SPAN&gt; from the second last&lt;BR /&gt;record read into the current internal table.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="code"&gt;peek( 'Sales', 0, 'Tab1' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;returns the value of &lt;SPAN class="italic"&gt;Sales&lt;/SPAN&gt; from the first record read&lt;BR /&gt;into the input table labeled Tab1.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="code"&gt;Load A, B, numsum( B, peek(&lt;BR /&gt;'Bsum' ) ) as Bsum...;&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;creates an accumulation of B in Bsum.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Similarly, search for Exists() in help. Non exists() is negation of exists() and not a separate function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 07:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523061#M195440</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-11-14T07:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: what is peek function?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523062#M195441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 07:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523062#M195441</guid>
      <dc:creator />
      <dc:date>2013-11-14T07:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: what is peek function?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523063#M195442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shivali,&lt;/P&gt;&lt;P style="margin-top: 16px; margin-bottom: 1em; font-size: 12px; color: #000000; font-family: sans-serif;"&gt;The Peek&amp;nbsp; function is an inter-record function that allows us to literally peek into previously-read records of a table and use its values to evaluate a condition or to affect the active record (the one being read).&lt;/P&gt;&lt;P style="margin-top: 16px; margin-bottom: 1em; font-size: 12px; color: #000000; font-family: sans-serif;"&gt;The function takes one mandatory parameter, the field &lt;A class="epub__indexterm"&gt;&lt;/A&gt;name into which we will "peek", and two optional parameters, a row reference and the table in which the field is located.&lt;/P&gt;&lt;P style="margin-top: 16px; margin-bottom: 1em; font-size: 12px; color: #000000; font-family: sans-serif;"&gt;For example, an expression like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp;&amp;nbsp; Peek('Date', -2) :&amp;gt;&amp;gt;&amp;gt; &lt;SPAN style="color: #000000; font-family: sans-serif; font-size: 12px; line-height: 1.5em;"&gt;This expression will go back two records in the currently-being-read table, take the value on the Date&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: sans-serif; font-size: 12px; line-height: 1.5em;"&gt; field and use it as a result of the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 16px; margin-bottom: 1em; font-size: 12px; color: #000000; font-family: sans-serif;"&gt;&lt;SPAN class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; peek( 'Price', 2 )&amp;nbsp; :&amp;gt;&amp;gt;&amp;gt; It &lt;/SPAN&gt;returns the value of &lt;SPAN class="Italic"&gt;Price&lt;/SPAN&gt; from the third record read from the current internal table. &lt;/P&gt;&lt;P style="margin-top: 16px; margin-bottom: 1em; font-size: 12px; color: #000000; font-family: sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.&amp;nbsp;&amp;nbsp; &lt;SPAN class="Code" style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;peek( 'Price', 0, 'Tab1' ) :&amp;gt;&amp;gt;&amp;gt; It &lt;/SPAN&gt;returns the value of &lt;SPAN class="Italic"&gt;Price &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>Thu, 14 Nov 2013 07:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523063#M195442</guid>
      <dc:creator />
      <dc:date>2013-11-14T07:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: what is peek function?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523064#M195443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In Qlikview Help Tab search for peek function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 07:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523064#M195443</guid>
      <dc:creator />
      <dc:date>2013-11-14T07:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: what is peek function?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523065#M195444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open QV-&amp;gt;help-&amp;gt;using help-&amp;gt;index&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 07:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523065#M195444</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-11-14T07:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: what is peek function?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523066#M195445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shivali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find it in the Qlikview Help..&lt;/P&gt;&lt;P&gt;simple defination&lt;/P&gt;&lt;P&gt;Peek(): can return data from any row based on the row mention in the function....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 08:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-peek-function/m-p/523066#M195445</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2013-11-14T08:22:46Z</dc:date>
    </item>
  </channel>
</rss>

