<?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 vs previous in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/peek-vs-previous/m-p/261691#M1193958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Refer to page No 413 of Qlik View reference manual&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2011 05:36:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-03T05:36:33Z</dc:date>
    <item>
      <title>peek vs previous</title>
      <link>https://community.qlik.com/t5/QlikView/peek-vs-previous/m-p/261690#M1193957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please any one explain the peek and previous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 05:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-vs-previous/m-p/261690#M1193957</guid>
      <dc:creator />
      <dc:date>2011-06-03T05:27:09Z</dc:date>
    </item>
    <item>
      <title>peek vs previous</title>
      <link>https://community.qlik.com/t5/QlikView/peek-vs-previous/m-p/261691#M1193958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Refer to page No 413 of Qlik View reference manual&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 05:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-vs-previous/m-p/261691#M1193958</guid>
      <dc:creator />
      <dc:date>2011-06-03T05:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: peek vs previous</title>
      <link>https://community.qlik.com/t5/QlikView/peek-vs-previous/m-p/261692#M1193959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A very simple explanation is that Peek() is used to retrieve information already loaded in your datamodel, either in the current table or in any other table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Names:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Name, Code&lt;/P&gt;&lt;P&gt;A, 100&lt;/P&gt;&lt;P&gt;B, 200&lt;/P&gt;&lt;P&gt;C, 300&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vThirdValue = Peek('Name', 2, 'Names'); // will return the third value for field "Name" in table "Names". Table Names must be already loaded.&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previous() is used when loading a table to get the previous record value for the field specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Names:&lt;/P&gt;&lt;P&gt;LOAD RecordID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Previous(RecordID) AS PreviousID; // stores the previous value for RecordID in a new field called PreviousID&lt;/P&gt;&lt;P&gt;SQL SELECT RecordID, Code&lt;/P&gt;&lt;P&gt;FROM Source; &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are used sometimes together to make accumulations in script. There are a lot of examples in the forums.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 05:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-vs-previous/m-p/261692#M1193959</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-03T05:53:14Z</dc:date>
    </item>
  </channel>
</rss>

