<?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 Difference Between peek() and previous() function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-Between-peek-and-previous-function/m-p/321621#M118475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me what is differencr between peek() and previous() funcion in detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kushal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Sep 2011 10:53:15 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2011-09-03T10:53:15Z</dc:date>
    <item>
      <title>Difference Between peek() and previous() function?</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-Between-peek-and-previous-function/m-p/321621#M118475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me what is differencr between peek() and previous() funcion in detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kushal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2011 10:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-Between-peek-and-previous-function/m-p/321621#M118475</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2011-09-03T10:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between peek() and previous() function?</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-Between-peek-and-previous-function/m-p/321622#M118476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kushal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search a bit in the forums and you will find some useful information about that, in addition to check the Reference Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, the difference is that Peek() refers to any value already loaded in the record specified, whether it's the previous value for the field, or any other. Previous() only refers to the immediately previously loaded record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check &lt;A _jive_internal="true" href="https://community.qlik.com/message/110458#110458"&gt;this post&lt;/A&gt; to see a working example of Peek() and Previous().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,.&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; 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>Sat, 03 Sep 2011 11:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-Between-peek-and-previous-function/m-p/321622#M118476</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-09-03T11:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between peek() and previous() function?</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-Between-peek-and-previous-function/m-p/321623#M118477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kushal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The F1 help explains this very clearly. Without the second parameter, Peek() is the same as Previous().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2011 11:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-Between-peek-and-previous-function/m-p/321623#M118477</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-03T11:58:02Z</dc:date>
    </item>
    <item>
      <title>Difference Between peek() and previous() function?</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-Between-peek-and-previous-function/m-p/321624#M118478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to above postings (and to the always helpful links to existing help functions / pages) I want to add a difference between peek and previous (but no more than I can get from the Help also):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While previous evaluates an expression in the context of the previously loaded record (but note that you may use nested previous statements) and this context is still the input record, before restricting to the fields stored in the associated DB, peek is more like a lookup function to return the value of a given field and index, where you only can adress the fields stored in the associated DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, depending on your expression, peek() and previous() may differ also when used with only one parameter (more precisely, you can't even use peek with an expression, you specify a fieldname).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2011 13:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-Between-peek-and-previous-function/m-p/321624#M118478</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-03T13:03:25Z</dc:date>
    </item>
  </channel>
</rss>

