<?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 give me an example in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-Peek-Function-give-me-an-example/m-p/1650413#M731214</link>
    <description>&lt;P&gt;The PEEK function is used to fetch the data present in any table available in your data model if you specify the table name and the number where the data is present.&lt;/P&gt;&lt;P&gt;If you did not specify any table name by default peek function will gives the previous row value as a result.&lt;/P&gt;&lt;P&gt;Kindly refer this help link which contains brief explanation and example&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Nov 2019 02:38:19 GMT</pubDate>
    <dc:creator>vijayaganesh_s</dc:creator>
    <dc:date>2019-11-24T02:38:19Z</dc:date>
    <item>
      <title>What is  Peek  Function give me an example</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-Peek-Function-give-me-an-example/m-p/1649875#M731212</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am new to Qlikview&lt;/P&gt;&lt;P&gt;What is&amp;nbsp; Peek&amp;nbsp; Function give me an example&amp;nbsp;&lt;/P&gt;&lt;P&gt;plz help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-Peek-Function-give-me-an-example/m-p/1649875#M731212</guid>
      <dc:creator>jonesbrown</dc:creator>
      <dc:date>2024-11-16T19:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is  Peek  Function give me an example</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-Peek-Function-give-me-an-example/m-p/1650395#M731213</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use it to create running totals in script, so for example the following;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20191123_3.png" style="width: 342px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24319i68D46FD22406F45C/image-size/large?v=v2&amp;amp;px=999" role="button" title="20191123_3.png" alt="20191123_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Comes from the toy script;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;data:
load * inline [
Year, Month, Sales, Production
2016, Jan, 1000, 1500 
2016, Feb, 800, 1300 
2016, Mar, 600, 1400 
2016, Apr, 900, 1500 
2016, May, 500, 1400 
];

data_final:
NoConcatenate
LOAD
	RowNo() as row_no,
	If(RowNo()=1,0,peek('Stock_Open')+Previous(Production)-Previous(Sales)) AS Stock_Open,
	*
Resident data;

drop table data;&lt;/LI-CODE&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 16:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-Peek-Function-give-me-an-example/m-p/1650395#M731213</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-11-23T16:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is  Peek  Function give me an example</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-Peek-Function-give-me-an-example/m-p/1650413#M731214</link>
      <description>&lt;P&gt;The PEEK function is used to fetch the data present in any table available in your data model if you specify the table name and the number where the data is present.&lt;/P&gt;&lt;P&gt;If you did not specify any table name by default peek function will gives the previous row value as a result.&lt;/P&gt;&lt;P&gt;Kindly refer this help link which contains brief explanation and example&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2019 02:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-Peek-Function-give-me-an-example/m-p/1650413#M731214</guid>
      <dc:creator>vijayaganesh_s</dc:creator>
      <dc:date>2019-11-24T02:38:19Z</dc:date>
    </item>
  </channel>
</rss>

