<?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: stuck with peek function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/stuck-with-peek-function/m-p/1584527#M443155</link>
    <description>&lt;P&gt;Looks like you qualify your fields and peek doesn't like that. Try it without qualifying everything.&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2019 13:51:00 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2019-05-24T13:51:00Z</dc:date>
    <item>
      <title>stuck with peek function</title>
      <link>https://community.qlik.com/t5/QlikView/stuck-with-peek-function/m-p/1584513#M443152</link>
      <description>&lt;P&gt;I use the peek() function a lot, and most times I get the results I expect.&lt;/P&gt;&lt;P&gt;Since yesterday however, when using this function no results are returned.&lt;/P&gt;&lt;P&gt;Because of that I made a simple test, in the app where I have the problems.&lt;/P&gt;&lt;P&gt;I use these scripts :&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;EmployeeDates:&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;Load&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt; * &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Inline&lt;/FONT&gt; &lt;FONT size="1" color="#800000"&gt;[&lt;BR /&gt;name|number&lt;BR /&gt;a|1&lt;BR /&gt;b|2&lt;BR /&gt;c|3&lt;BR /&gt;d|4&lt;BR /&gt;e|5&lt;BR /&gt;f|6&lt;BR /&gt;g|7&lt;BR /&gt;h|8&lt;BR /&gt;i|9&lt;BR /&gt;]&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;delimiter&lt;/FONT&gt; &lt;FONT size="1" color="#0000ff"&gt;is&lt;/FONT&gt;&lt;FONT size="1"&gt; '|');&lt;BR /&gt;&lt;BR /&gt;second:&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;Load&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;EmployeeDates.name&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;EmployeeDates.number&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;peek&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;second.EmployeeDates.number&lt;/FONT&gt;&lt;FONT size="1"&gt;, -1) &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;as&lt;/FONT&gt; &lt;FONT size="1" color="#800000"&gt;previousnumber&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Resident&lt;/FONT&gt;&lt;FONT size="1"&gt; EmployeeDates; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;In the&amp;nbsp;resulting table&amp;nbsp;field previousnumber is empty (or null)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;We are using version 12.10 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When I use the script in a new app, I do not get results either for field "previousnumber"&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peektest.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12622iC5365BC525F4DD42/image-size/large?v=v2&amp;amp;px=999" role="button" title="peektest.jpg" alt="peektest.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 13:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stuck-with-peek-function/m-p/1584513#M443152</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2019-05-24T13:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: stuck with peek function</title>
      <link>https://community.qlik.com/t5/QlikView/stuck-with-peek-function/m-p/1584527#M443155</link>
      <description>&lt;P&gt;Looks like you qualify your fields and peek doesn't like that. Try it without qualifying everything.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 13:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stuck-with-peek-function/m-p/1584527#M443155</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-05-24T13:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: stuck with peek function</title>
      <link>https://community.qlik.com/t5/QlikView/stuck-with-peek-function/m-p/1584535#M443156</link>
      <description>&lt;P&gt;I allways use qualify. And so far peek had no problems with that.&lt;/P&gt;&lt;P&gt;I assume that when I don't use qualify I have to use the table name in the Peek.&lt;/P&gt;&lt;P&gt;I will try if my test runs without using qualify, but I am sure it gives me al lot of new problems (synthetic keys etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 14:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stuck-with-peek-function/m-p/1584535#M443156</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2019-05-24T14:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: stuck with peek function</title>
      <link>https://community.qlik.com/t5/QlikView/stuck-with-peek-function/m-p/1585555#M443204</link>
      <description>&lt;P&gt;&lt;BR /&gt;strange , in my mail I got a copy from an answer from you, but i can't see it here, allthough it sayes you replied twice.&lt;/P&gt;&lt;P&gt;Your answer was : "&lt;/P&gt;&lt;P&gt;You're peeking into a field you're creating in that same load statement and using that same peek to fill that field. If you never first put a value in that field then peek can't find any value in it."&lt;/P&gt;&lt;P&gt;If it was not your intention to cancel this answer, than I do not understand your reply.&lt;/P&gt;&lt;P&gt;I thought that the peek function made it possible to get the value of the previous row of the table you are loading.&lt;/P&gt;&lt;P&gt;I do not check a new field, i use the value of Employeedates.number which allready exists.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 11:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stuck-with-peek-function/m-p/1585555#M443204</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2019-05-28T11:52:00Z</dc:date>
    </item>
  </channel>
</rss>

