<?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 Logic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177246#M892216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly same but it should not exceed my max date Check above &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;project=556,pHase=116 my max date is 7/15/2016 but output date 7/27/2016 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If Date is exceeding output date Pick max date instead&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I want to apply +7 for In between Min and Max date of of my Phase&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2016 03:15:47 GMT</pubDate>
    <dc:creator>subbareddykm</dc:creator>
    <dc:date>2016-08-12T03:15:47Z</dc:date>
    <item>
      <title>peek Logic</title>
      <link>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177244#M892214</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;i need one logic. i.e &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have project, phase and date like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="277"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="78"&gt;ProjectName&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="48"&gt;Phase&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="151"&gt;QAFPartsReceiptPlanDate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6/8/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6/8/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6/10/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6/14/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6/15/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6/30/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;7/8/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;7/14/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;7/15/2016&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For every project , every phase pick min and Max date and&amp;nbsp; Like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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: 586px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="78"&gt;ProjectName&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="48"&gt;Phase&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="151"&gt;QAFPartsReceiptPlanDate&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="64"&gt;Output&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="181"&gt;Logic&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6/8/2016&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;6/8/2016&lt;/TD&gt;&lt;TD&gt;min date project and Phase 0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6/8/2016&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;6/8/2016&lt;/TD&gt;&lt;TD colspan="2"&gt;min date project and Phase 116&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6/10/2016&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;6/15/2016&lt;/TD&gt;&lt;TD&gt;above date + 7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6/14/2016&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;6/22/2016&lt;/TD&gt;&lt;TD&gt;above date + 7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6/15/2016&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;6/29/2016&lt;/TD&gt;&lt;TD&gt;above date + 7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6/30/2016&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;7/6/2016&lt;/TD&gt;&lt;TD&gt;above date + 7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;7/8/2016&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;7/13/2016&lt;/TD&gt;&lt;TD&gt;above date + 7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;7/14/2016&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;7/20/2016&lt;/TD&gt;&lt;TD&gt;above date + 7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;556&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;7/15/2016&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;7/27/2016&lt;/TD&gt;&lt;TD&gt;above date + 7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;&lt;/TD&gt;&lt;TD&gt;&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;&lt;/P&gt;&lt;P&gt;Can any body tell me how to get this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: +7 should not exceed Max date of phase and If it exceeds Pick max date instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177244#M892214</guid>
      <dc:creator>subbareddykm</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: peek Logic</title>
      <link>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177245#M892215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;t:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ProjectName, Phase, Date&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 0, 6/8/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/8/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/10/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/14/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/15/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/30/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 7/8/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 7/14/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 7/15/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;]; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load *,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(ProjectName &amp;lt;&amp;gt; Peek('ProjectName') or Phase &amp;lt;&amp;gt; Peek('Phase'), Date, Date(Peek('Output') +7)) as Output&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident t&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;order by ProjectName, Phase, Date;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table t;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134366_1.png" style="height: auto; width: auto;" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 18:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177245#M892215</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-08-11T18:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: peek Logic</title>
      <link>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177246#M892216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly same but it should not exceed my max date Check above &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;project=556,pHase=116 my max date is 7/15/2016 but output date 7/27/2016 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If Date is exceeding output date Pick max date instead&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I want to apply +7 for In between Min and Max date of of my Phase&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 03:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177246#M892216</guid>
      <dc:creator>subbareddykm</dc:creator>
      <dc:date>2016-08-12T03:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: peek Logic</title>
      <link>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177247#M892217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piggy backing on Massimo's code to get the upper range limit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ProjectName, Phase, Date&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 0, 6/8/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/8/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/10/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/14/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/15/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 6/30/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 7/8/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 7/14/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;556, 116, 7/15/2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Join(t)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ProjectName, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Max(Date) as ProjectMaxDate &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident t&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Group By ProjectName;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; If(ProjectName &amp;lt;&amp;gt; Peek('ProjectName') Or Phase &amp;lt;&amp;gt; Peek('Phase'), &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Date(RangeMin(Date(Peek('Output') + 7), ProjectMaxDate))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ) as Output&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident t&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;order by ProjectName, Phase, Date;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table t;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="t1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134379_t1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 05:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177247#M892217</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-08-12T05:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: peek Logic</title>
      <link>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177248#M892218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one doubt here if it exceed my max i dont want to pick max date and i want to stop there itself ,then where i need to change&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In output&amp;nbsp; Phase=116 ,07/15/2016&amp;nbsp; that we are picking from actual date right . i want to stop 07/13/2013 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can tell me where i need to change from script ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 06:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-Logic/m-p/1177248#M892218</guid>
      <dc:creator>subbareddykm</dc:creator>
      <dc:date>2016-08-12T06:06:42Z</dc:date>
    </item>
  </channel>
</rss>

