<?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 not working properly. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283298#M402136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;The earned column is not there in the source table. It's an addition. in the target table using the formula. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2016 05:58:35 GMT</pubDate>
    <dc:creator>mickartik</dc:creator>
    <dc:date>2016-12-21T05:58:35Z</dc:date>
    <item>
      <title>Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283293#M402131</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;Please find below the script.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I should be getting a "previous+1" value in increment order for field &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;earned&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;earned2&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm using Peek function and getting null values.&lt;/P&gt;&lt;P&gt;Can you please verify the code? What I am doing wrong in this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;temp:&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;_MASTER_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;_MASTER_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt; earned_temp&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;tt&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;earned_temp&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;('tt') +1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;earned&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;tt&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;earned2,&lt;/SPAN&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; TRptTransSummary&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ORDER&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;BY&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;_MASTER_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;earned_temp holds '0' from the previous query. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 15:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283293#M402131</guid>
      <dc:creator>mickartik</dc:creator>
      <dc:date>2016-12-19T15:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283294#M402132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;temp:&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;_MASTER_KEY&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;_MASTER_KEY&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;earned_temp&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;tt&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;earned_temp&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; color: blue;"&gt;&lt;STRONG&gt;rangesum(Peek&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;(&lt;STRONG style="color: maroon; font-size: 9pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;earned&lt;/STRONG&gt;),1) &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: maroon;"&gt;earned&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;tt&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: maroon;"&gt;earned2,&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; TRptTransSummary&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;ORDER&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;BY&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;_MASTER_KEY&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 15:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283294#M402132</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-19T15:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283295#M402133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post sample data? and expected output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 15:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283295#M402133</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-19T15:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283296#M402134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/216189"&gt;vinieme12&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Below is the sample data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 84px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="84"&gt;_MASTER_KEY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the sample required output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="274"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="84"&gt;_MASTER_KEY&lt;/TD&gt;&lt;TD class="xl65" width="84"&gt;earned&lt;/TD&gt;&lt;TD class="xl65" width="106"&gt;previous_value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;0.0625&lt;/TD&gt;&lt;TD align="right"&gt;0.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;TD align="right"&gt;0.044270833&lt;/TD&gt;&lt;TD align="right"&gt;0.0625&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;0.043511285&lt;/TD&gt;&lt;TD align="right"&gt;0.044270833&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;0.043479637&lt;/TD&gt;&lt;TD align="right"&gt;0.043511285&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;5&lt;/TD&gt;&lt;TD align="right"&gt;0.043478318&lt;/TD&gt;&lt;TD align="right"&gt;0.043479637&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;6&lt;/TD&gt;&lt;TD align="right"&gt;0.043478263&lt;/TD&gt;&lt;TD align="right"&gt;0.043478318&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;7&lt;/TD&gt;&lt;TD align="right"&gt;0.043478261&lt;/TD&gt;&lt;TD align="right"&gt;0.043478263&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;8&lt;/TD&gt;&lt;TD align="right"&gt;0.043478261&lt;/TD&gt;&lt;TD align="right"&gt;0.043478261&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;9&lt;/TD&gt;&lt;TD align="right"&gt;0.043478261&lt;/TD&gt;&lt;TD align="right"&gt;0.043478261&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;0.043478261&lt;/TD&gt;&lt;TD align="right"&gt;0.043478261&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Formula&lt;/SPAN&gt;: &lt;STRONG&gt;earned = [(Previous month value + 1)/24]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When there's no previous value then it should be taken as 0.5&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;As can be seen in sample output the previous_value should be with in 0.5 to 24.5. Once it reaches 24.5 then again it starts from 0.5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 06:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283296#M402134</guid>
      <dc:creator>mickartik</dc:creator>
      <dc:date>2016-12-20T06:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283297#M402135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the attachment for solution&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;_MASTER_KEY,earned&lt;/P&gt;&lt;P&gt;1,0.0625&lt;/P&gt;&lt;P&gt;2,0.044270833&lt;/P&gt;&lt;P&gt;3,0.043511285&lt;/P&gt;&lt;P&gt;4,0.043479637&lt;/P&gt;&lt;P&gt;5,0.043478318&lt;/P&gt;&lt;P&gt;6,0.043478263&lt;/P&gt;&lt;P&gt;7,0.043478261&lt;/P&gt;&lt;P&gt;8,0.043478261&lt;/P&gt;&lt;P&gt;9,0.043478261&lt;/P&gt;&lt;P&gt;10,0.043478261&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD _MASTER_KEY,&lt;/P&gt;&lt;P&gt;earned,&lt;/P&gt;&lt;P&gt;if(RowNo()=1,'0.5',Peek('earned')) as Pre&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;Temp;&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, 20 Dec 2016 07:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283297#M402135</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-12-20T07:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283298#M402136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;The earned column is not there in the source table. It's an addition. in the target table using the formula. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 05:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283298#M402136</guid>
      <dc:creator>mickartik</dc:creator>
      <dc:date>2016-12-21T05:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283299#M402137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share the sample app with the data set ...will check and let you know &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 06:02:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283299#M402137</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-12-21T06:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283300#M402138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: line-through;"&gt;If(Len(Peek(earned)) = 0, 0.5, Peek(earned)) as previous_value,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: line-through;"&gt;If(Len(Peek(earned)) = 0, 0.5, (Peek(earned) + 1) / 24) as earned,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Alt(Peek(earned), 0.5) as previous_value,&lt;/P&gt;&lt;P&gt;(1 + Alt(Peek(earned), 0.5)) / 24 as earned,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 06:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283300#M402138</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-12-21T06:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283301#M402139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the below code and Let me know if it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_MASTER_KEY:&lt;/P&gt;&lt;P&gt;load * Inline [&lt;/P&gt;&lt;P&gt;monther&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MASTER_KEY:&lt;/P&gt;&lt;P&gt;load monther,&lt;/P&gt;&lt;P&gt;if(isnull(peek(previous_value)),0.5,(peek(previous_value)+1)/24) as previous_value&lt;/P&gt;&lt;P&gt;Resident _MASTER_KEY;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 06:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283301#M402139</guid>
      <dc:creator>parimikittu</dc:creator>
      <dc:date>2016-12-21T06:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283302#M402140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to your screenshot, you appear to have QUALIFY in effect. If so, you will need to refer to the fields in peek by their qualified names:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(temp.&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;tt&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Courier New'; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;earned2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 16:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-not-working-properly/m-p/1283302#M402140</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-12-21T16:54:22Z</dc:date>
    </item>
  </channel>
</rss>

