<?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: please explain with some example in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/please-explain-with-some-example/m-p/514302#M192137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/08/peek-vs-previous-when-to-use-each" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/08/peek-vs-previous-when-to-use-each"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/08/peek-vs-previous-when-to-use-each&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 06:30:58 GMT</pubDate>
    <dc:creator>nizamsha</dc:creator>
    <dc:date>2013-06-27T06:30:58Z</dc:date>
    <item>
      <title>please explain with some example</title>
      <link>https://community.qlik.com/t5/QlikView/please-explain-with-some-example/m-p/514301#M192136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone explain with an example &lt;/P&gt;&lt;P&gt;1)difference betwen peek and previous function?&lt;/P&gt;&lt;P&gt;2)class and intervalmatch?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 06:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-explain-with-some-example/m-p/514301#M192136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-27T06:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: please explain with some example</title>
      <link>https://community.qlik.com/t5/QlikView/please-explain-with-some-example/m-p/514302#M192137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/08/peek-vs-previous-when-to-use-each" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/08/peek-vs-previous-when-to-use-each"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/08/peek-vs-previous-when-to-use-each&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 06:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-explain-with-some-example/m-p/514302#M192137</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2013-06-27T06:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: please explain with some example</title>
      <link>https://community.qlik.com/t5/QlikView/please-explain-with-some-example/m-p/514303#M192138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4&gt;&lt;SPAN class="bold"&gt;peek(&lt;/SPAN&gt; &lt;EM&gt;fieldname [ , row [ , tablename ] ] &lt;/EM&gt;&lt;SPAN class="bold"&gt;)&lt;/SPAN&gt;&lt;/H4&gt;&lt;P&gt;Returns the contents of the &lt;EM&gt;fieldname&lt;/EM&gt; in the record specified by &lt;EM&gt;row&lt;/EM&gt; in the input table &lt;EM&gt;tablename&lt;/EM&gt;. Data are fetched from the associative QlikView database.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Fieldname&lt;/EM&gt; must be given as a string (e.g. a quoted literal).&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Row&lt;/EM&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;EM&gt;row&lt;/EM&gt; is stated, -1 is assumed.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Tablename&lt;/EM&gt; is a &lt;A href="http://mce_host/mk:@MSITStoreC\Program%20Files\QlikView\English.chm::"&gt;table label&lt;/A&gt; without the ending colon. &lt;SPAN style="background: white;"&gt;If no &lt;EM&gt;tablename&lt;/EM&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;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P&gt;&lt;SPAN class="bold"&gt;peek( 'Sales' )&lt;/SPAN&gt;&lt;BR /&gt;returns the value of &lt;EM&gt;Sales&lt;/EM&gt; in the previous record read ( equivalent to &lt;STRONG&gt;previous(&lt;/STRONG&gt;&lt;EM&gt;Sales&lt;/EM&gt;&lt;STRONG&gt;) &lt;/STRONG&gt;). &lt;/P&gt;&lt;P&gt;&lt;SPAN class="bold"&gt;peek( 'Sales', 2 )&lt;/SPAN&gt;&lt;BR /&gt;returns the value of &lt;EM&gt;Sales&lt;/EM&gt; from the third record read from the current input table. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="bold"&gt;peek( 'Sales', -2 )&lt;/SPAN&gt;&lt;BR /&gt;returns the value of &lt;EM&gt;Sales&lt;/EM&gt; from the second last record read into the current input table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;&lt;SPAN class="bold"&gt;previous(&lt;/SPAN&gt;&lt;EM&gt;expression &lt;/EM&gt;&lt;SPAN class="bold"&gt;)&lt;/SPAN&gt; &lt;/H4&gt;&lt;P&gt;Returns the value of &lt;EM&gt;expression&lt;/EM&gt; using data from the previous input record that was not discarded due to a &lt;SPAN class="bold"&gt;where&lt;/SPAN&gt; clause. In the first record of an input table the function will return NULL. The &lt;SPAN class="bold"&gt;previous&lt;/SPAN&gt; function may be nested in order to access records further back. Data are fetched directly from the input source, making it possible to refer also to fields which have not been loaded into QlikView, i.e. even if they have not been stored in its associative database.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P&gt;&lt;SPAN class="bold"&gt;Load *, Sales / previous(Sales) as Increase from ...;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="bold"&gt;Load A, previous(previous( A )) as B from ...;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;class( &lt;EM&gt;expression&lt;/EM&gt;,&lt;EM&gt; interval [ &lt;/EM&gt;,&lt;EM&gt; label [ &lt;/EM&gt;,&lt;EM&gt; offset ]]&lt;/EM&gt; )&lt;/H4&gt;&lt;P&gt;Creates a classification of &lt;EM&gt;expressions&lt;/EM&gt;. The bin width is determined by the number set as &lt;EM&gt;interval&lt;/EM&gt;. The result is shown as a&amp;lt;=x&amp;lt;b, where a and b are the upper and lower limits of the bin. The x can be replaced by an arbitrary string stated in &lt;EM&gt;label&lt;/EM&gt;. 0 is normally the default starting point of the classification. This can be changed by adding an &lt;EM&gt;offset&lt;/EM&gt;.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P&gt;&lt;SPAN class="bold"&gt;class( &lt;EM&gt;var&lt;/EM&gt;,&lt;EM&gt;10&lt;/EM&gt; )&lt;/SPAN&gt; with &lt;EM&gt;var&lt;/EM&gt; = 23 returns &lt;EM&gt;'20&amp;lt;=x&amp;lt;30'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="bold"&gt;class( &lt;EM&gt;var&lt;/EM&gt;,&lt;EM&gt;5&lt;/EM&gt;,&lt;EM&gt;'value'&lt;/EM&gt; )&lt;/SPAN&gt; with &lt;EM&gt;var&lt;/EM&gt; = 23 returns &lt;EM&gt;'20&amp;lt;= value &amp;lt;25'&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 5pt 0 0 30pt;"&gt;&lt;SPAN class="bold"&gt;class( &lt;EM&gt;var&lt;/EM&gt;,&lt;EM&gt;10&lt;/EM&gt;,&lt;EM&gt;'x'&lt;/EM&gt;,&lt;EM&gt;5&lt;/EM&gt; )&lt;/SPAN&gt; with &lt;EM&gt;var&lt;/EM&gt; = 23 returns &lt;EM&gt;'15&amp;lt;=x&amp;lt;25'&lt;/EM&gt;&lt;/P&gt;&lt;H1&gt;IntervalMatch&lt;/H1&gt;&lt;P&gt;The &lt;SPAN class="bold"&gt;IntervalMatch&lt;/SPAN&gt; prefix to a &lt;A href="http://mce_host/mk:@MSITStoreC\Program%20Files\QlikView\English.chm::"&gt;&lt;SPAN class="bold"&gt;Load&lt;/SPAN&gt;&lt;/A&gt; or &lt;A href="http://mce_host/mk:@MSITStoreC\Program%20Files\QlikView\English.chm::"&gt;&lt;SPAN class="bold"&gt;Select&lt;/SPAN&gt;&lt;/A&gt; statement is used for linking discrete numeric values to one or more numeric intervals. There is an advanced application of &lt;SPAN class="bold"&gt;IntervalMatch&lt;/SPAN&gt; involving an extended syntax, that you can read about &lt;A href="http://mce_host/mk:@MSITStoreC\Program%20Files\QlikView\English.chm::"&gt;here&lt;/A&gt;. The general syntax is:&lt;/P&gt;&lt;H4&gt;intervalmatch (&lt;EM&gt;field&lt;/EM&gt;) (&lt;EM&gt;loadstatement&lt;/EM&gt; | &lt;EM&gt;selectstatement&lt;/EM&gt; )&lt;/H4&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 06:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-explain-with-some-example/m-p/514303#M192138</guid>
      <dc:creator />
      <dc:date>2013-06-27T06:33:30Z</dc:date>
    </item>
  </channel>
</rss>

