<?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: Hi in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hi/m-p/754385#M1042629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer below link, this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/106578"&gt;http://community.qlik.com/thread/106578&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 10:13:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-02T10:13:32Z</dc:date>
    <item>
      <title>Hi</title>
      <link>https://community.qlik.com/t5/QlikView/Hi/m-p/754382#M1042626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the difference between pick function and peek function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 08:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi/m-p/754382#M1042626</guid>
      <dc:creator />
      <dc:date>2014-12-02T08:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.qlik.com/t5/QlikView/Hi/m-p/754383#M1042627</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;Both are using different ways&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick:-&lt;/P&gt;&lt;P&gt;If the given value match in the column it will return the column value in the below Pick 2 will return corresponding value B in the field Selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ColA,ColB,Pick(2,'A','B','C') AS Selection;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ColA,ColB&lt;/P&gt;&lt;P&gt;A,1&lt;/P&gt;&lt;P&gt;B,2&lt;/P&gt;&lt;P&gt;C,3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peek:-&lt;/P&gt;&lt;P&gt;It will return the specific value in the field of the table from any given position suppose in the column ColB need to peek last value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vLastValue = Peek('ColB',-1,'Table1');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will return 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 08:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi/m-p/754383#M1042627</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-02T08:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.qlik.com/t5/QlikView/Hi/m-p/754384#M1042628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pick:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;pick&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;n, expr1[ , expr2,...exprN]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt;:th expression in the list. &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; is an integer between 1 and &lt;SPAN class="Italic"&gt;N&lt;/SPAN&gt;. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;pick&lt;/SPAN&gt;( N'A''B'4, , , )&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;returns &lt;SPAN class="Italic"&gt;'B'&lt;/SPAN&gt; if &lt;SPAN class="Italic"&gt;N&lt;/SPAN&gt; = &lt;SPAN class="Italic"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;returns &lt;SPAN class="Italic"&gt;4&lt;/SPAN&gt; if &lt;SPAN class="Italic"&gt;N&lt;/SPAN&gt; = &lt;SPAN class="Italic"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;Peek:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;&lt;BR /&gt;&lt;/SPAN&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;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;peek&lt;/SPAN&gt;(&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 &lt;A _jive_internal="true" class="MCXref_0" href="https://community.qlik.com/thread/Table_labels.htm"&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;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;peek&lt;/SPAN&gt;( '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;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;peek&lt;/SPAN&gt;( '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;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;peek&lt;/SPAN&gt;( '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;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;peek&lt;/SPAN&gt;( '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, &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;peek&lt;/SPAN&gt;( '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, 02 Dec 2014 09:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi/m-p/754384#M1042628</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2014-12-02T09:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.qlik.com/t5/QlikView/Hi/m-p/754385#M1042629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer below link, this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/106578"&gt;http://community.qlik.com/thread/106578&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 10:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi/m-p/754385#M1042629</guid>
      <dc:creator />
      <dc:date>2014-12-02T10:13:32Z</dc:date>
    </item>
  </channel>
</rss>

