<?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: Peek function doesnt work properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781631#M276869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, &lt;/P&gt;&lt;P&gt;it shows me an Error. &lt;/P&gt;&lt;P&gt;peek ('Flag') expression isn't working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2015 15:03:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-24T15:03:02Z</dc:date>
    <item>
      <title>Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781629#M276867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have a table with Employees, Account , DataAccount,Bench&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a part of my table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 384px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="height: 12.75pt; width: 96pt;" width="128"&gt;Employee&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 48pt;" width="64"&gt;Account&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 48pt;" width="64"&gt;Period&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 48pt;" width="64"&gt;DataAccount&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 48pt;" width="64"&gt;Bench&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Feb-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Mar-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Apr-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;May-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Jun-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Jul-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Aug-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Sep-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Oct-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Nov-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Dec-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find the last row before the values in Bench appear like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 336pt;" width="448"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="height: 12.75pt; width: 96pt;" width="128"&gt;Employee&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none; width: 48pt;" width="64"&gt;Account&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none; width: 48pt;" width="64"&gt;Period&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none; width: 48pt;" width="64"&gt;DataAccount&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none; width: 48pt;" width="64"&gt;Bench&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none; width: 48pt;" width="64"&gt;Flag&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Feb-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Mar-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Apr-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;May-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Jun-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Jul-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Aug-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Sep-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Oct-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Nov-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; border-top: none;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;Dec-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 14:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781629#M276867</guid>
      <dc:creator />
      <dc:date>2015-03-24T14:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781630#M276868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this has been working for me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Employee = Previous(Employee) and Account = Previous(Account) and DataAccount = Previous(Account),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Previous(Bench)= Bench, peek('Flag') 1),0) as Flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 14:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781630#M276868</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-03-24T14:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781631#M276869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, &lt;/P&gt;&lt;P&gt;it shows me an Error. &lt;/P&gt;&lt;P&gt;peek ('Flag') expression isn't working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781631#M276869</guid>
      <dc:creator />
      <dc:date>2015-03-24T15:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781632#M276870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case you have to explore the next record to see if the bench has change, but this is no possible.&amp;nbsp; In this case i do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load.... " your table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (T1)&lt;/P&gt;&lt;P&gt;Load Employee, Account, Max(Period) as Period, DataAccount, Bench, 1 as Flag&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Where Bench = 0&lt;/P&gt;&lt;P&gt;Group By &lt;SPAN style="font-size: 13.3333330154419px;"&gt; Employee, Account, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;DataAccount, Bench;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check it out...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781632#M276870</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2015-03-24T15:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781633#M276871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, it doesnt give me the desired result. I want it to show me exactly like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;" width="448"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="128"&gt;Employee&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;" width="64"&gt;Account&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;" width="64"&gt;Period&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;" width="64"&gt;DataAccount&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;" width="64"&gt;Bench&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;" width="64"&gt;Flag&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Feb-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Mar-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;0&lt;/TD&gt;&lt;TD class="xl68" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Apr-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;0&lt;/TD&gt;&lt;TD class="xl68" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;May-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;0&lt;/TD&gt;&lt;TD class="xl68" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Jun-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Jul-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Aug-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Sep-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Oct-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;Nov-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mark Spencer&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dec-15&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781633#M276871</guid>
      <dc:creator />
      <dc:date>2015-03-24T15:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781634#M276872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;was missing a comma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;LOAD Employee, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Period, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataAccount, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bench&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Test.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Employee, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Period, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataAccount, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bench,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Employee = Previous(Employee) and Account = Previous(Account) and DataAccount = Previous(DataAccount),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Previous(Bench)= Bench, peek('Flag'), 1),0) as Flag&lt;/P&gt;&lt;P&gt;resident temp&lt;/P&gt;&lt;P&gt;order by Employee,Period,Account ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781634#M276872</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-03-24T15:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781635#M276873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you only want it to show for when the change happen switch it to this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Employee = Previous(Employee) and Account = Previous(Account) and DataAccount = Previous(DataAccount),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Previous(Bench)= Bench, null(), 1)) as Flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781635#M276873</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-03-24T15:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781636#M276874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to mark the row just before the change happens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781636#M276874</guid>
      <dc:creator />
      <dc:date>2015-03-24T15:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781637#M276875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work:&lt;/P&gt;&lt;P&gt;Data_raw:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *, DATE(DATE#(Period, 'MMM-YY')) AS Date INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Employee, Account, Period, DataAccount, Bench&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Feb-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Mar-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Apr-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, May-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Jun-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Jul-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Aug-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Sep-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Oct-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Nov-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Dec-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Employee = PEEK(Employee) AND Bench &amp;lt;&amp;gt; PEEK(Bench), 1) AS Flag&lt;/P&gt;&lt;P&gt;&amp;nbsp; RESIDENT&lt;/P&gt;&lt;P&gt;&amp;nbsp; Data_raw&lt;/P&gt;&lt;P&gt;&amp;nbsp; ORDER BY&lt;/P&gt;&lt;P&gt;&amp;nbsp; Employee ASC,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date DESC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Data_raw;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781637#M276875</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2015-03-24T15:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781638#M276876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can use the last solution if you do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Order by Employee, Acouunt, Bench desc, Period desc;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781638#M276876</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2015-03-24T15:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781639#M276877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works well, but I found one bug here, in one case it showed me this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 424pt;" width="564"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="height: 12.75pt; width: 110pt;" width="146"&gt;Employee&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 140pt;" width="187"&gt;Account&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 31pt;" width="41"&gt;Period&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 58pt;" width="77"&gt;DataAccount&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 44pt;" width="59"&gt;Bench&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 41pt;" width="54"&gt;Flag&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;International&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Sep-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.18&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Feb-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Mar-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Apr-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;May-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Jun-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.47&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Jan-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Feb-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Mar-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl64" height="17" style="height: 12.75pt; border-top: none;"&gt;Pavel Kovalski&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Apr-15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want it to put 1 in front of Jun-14&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781639#M276877</guid>
      <dc:creator />
      <dc:date>2015-03-24T15:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781640#M276878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, it's not a bug! This works perfectly great!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781640#M276878</guid>
      <dc:creator />
      <dc:date>2015-03-24T15:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function doesnt work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781641#M276879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Peter already solved it for you, however I personally prefer using keyfields (combining multiple fields) to avoid multiple IF AND statements. (however, temporarily, bloating your table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my suggestion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data_raw:&lt;/P&gt;&lt;P&gt;LOAD *, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#(Period, 'MMM-YY')) as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Employee &amp;amp;'_'&amp;amp; Account&amp;nbsp; as Key_Peek&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Employee, Account, Period, DataAccount, Bench&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Feb-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Mar-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Apr-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, May-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Jun-15, 1.00, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Jul-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Aug-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Sep-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Oct-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Nov-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark Spencer, Telecom, Dec-15, 1.00, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Data]:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD *, &lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Key_Peek=Peek(Key_Peek,-1),if(Bench&amp;lt;&amp;gt;Peek(Bench,-1),1,null()),null()) as Flag&lt;/P&gt;&lt;P&gt;RESIDENT Data_raw ORDER BY Key_Peek, Date DESC;&lt;/P&gt;&lt;P&gt;drop table Data_raw;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 16:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-doesnt-work-properly/m-p/781641#M276879</guid>
      <dc:creator>jopmoekotte</dc:creator>
      <dc:date>2015-03-24T16:10:45Z</dc:date>
    </item>
  </channel>
</rss>

