<?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() fuction in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626179#M1110384</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Previous([Income]) - Previous([expensive]) - Previous([expensive 01]) + Previous([Income 01]) as Income_total&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Income,expensive,expensive 01,Income 01&lt;/P&gt;&lt;P&gt;1000,100,100,0&lt;/P&gt;&lt;P&gt;800,200,200,600&lt;/P&gt;&lt;P&gt;1500,300,200,500];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Previous() for this.&amp;nbsp; If you are not looking for this let me know your expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2014 05:35:13 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-03-12T05:35:13Z</dc:date>
    <item>
      <title>Peek() fuction</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626178#M1110383</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;Income,expensive,expensive 01,Income 01&lt;/P&gt;&lt;P&gt;1000,100,100,0&lt;/P&gt;&lt;P&gt;800,200,200,600&lt;/P&gt;&lt;P&gt;1500,300,200,500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but he want to see Income - expensive - expensive 01 + Income 01 as Income_total by using Peek() function only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please anyone help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 05:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626178#M1110383</guid>
      <dc:creator />
      <dc:date>2014-03-12T05:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Peek() fuction</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626179#M1110384</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Previous([Income]) - Previous([expensive]) - Previous([expensive 01]) + Previous([Income 01]) as Income_total&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Income,expensive,expensive 01,Income 01&lt;/P&gt;&lt;P&gt;1000,100,100,0&lt;/P&gt;&lt;P&gt;800,200,200,600&lt;/P&gt;&lt;P&gt;1500,300,200,500];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Previous() for this.&amp;nbsp; If you are not looking for this let me know your expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 05:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626179#M1110384</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-03-12T05:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Peek() fuction</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626180#M1110385</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;Check this hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="j-search-result-value" href="https://community.qlik.com/docs/DOC-4073" style="margin: 0 0 3px; font-weight: bold; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM class="jive-hilite" style="font-family: inherit; background-color: #ffffcd;"&gt;Peek&lt;/EM&gt;() vs Previous() – When to Use Each&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 05:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626180#M1110385</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-03-12T05:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Peek() fuction</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626181#M1110386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the output you are expecting from the above input?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 05:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626181#M1110386</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-12T05:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Peek() fuction</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626182#M1110387</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;If you only want the total and strictly want peek function.. then try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set errormode =0;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Income,expensive,expensive01,Income01&lt;/P&gt;&lt;P&gt;1000,100,100,0&lt;/P&gt;&lt;P&gt;800,200,200,600&lt;/P&gt;&lt;P&gt;1500,300,200,500&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=0 to NoOfRows('Table')-1&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;load Distinct &lt;/P&gt;&lt;P&gt;peek('Income',$(i),'Table')-peek('expensive',$(i),'Table')-peek('expensive01',$(i),'Table')+peek('Income01',$(i),'Table') as Total&lt;/P&gt;&lt;P&gt;Resident Table;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 05:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626182#M1110387</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-03-12T05:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Peek() fuction</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626183#M1110388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 06:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626183#M1110388</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-12T06:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Peek() fuction</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626184#M1110389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can use Previous or peek function instead of complex scenarios &lt;/P&gt;&lt;H6 style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" class="font-color-meta-light" href="https://community.qlik.com/message/485775#485775" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;Re: Peek() fuction&lt;/A&gt;&lt;/STRONG&gt;&lt;/H6&gt;&lt;P class="j-post-avatar" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" class="j-avatar jiveTT-hover-user" data-avatarid="1006" data-externalid="" data-presence="null" data-userid="147237" data-username="sunilkumarqv" href="https://community.qlik.com/people/sunilkumarqv" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="sunil kumar" border="0" class="jiveImage jive-avatar" data-avatarid="1006" data-height="46" data-username="sunilkumarqv" height="46" src="https://community.qlik.com/people/sunilkumarqv/avatar/46.png?a=1006" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="46" /&gt;&lt;/A&gt;&lt;SPAN class="j-status-levels" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="Expert" class="jiveImage" src="https://assets.bunchball.net/badges/levels/L5.png" style="font-weight: inherit; font-style: inherit; font-family: inherit;" title="Expert" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author" style="font-weight: inherit; font-style: inherit; font-size: 0.9em; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A href="https://community.qlik.com/people/sunilkumarqv"&gt;sunilkumarqv&lt;/A&gt; &lt;/STRONG&gt;Mar 12, 2014 2:05 AM &lt;SPAN class="font-color-meta-light j-thread-replyto" style="padding: 0 0 0 3px; font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;(&lt;A _jive_internal="true" class="font-color-meta-light localScroll" href="https://community.qlik.com/message/485775#485718" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;" title="Go to message"&gt;in response to muralivijay&lt;/A&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Try this&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" class="j-attachment-icon" href="https://community.qlik.com/servlet/JiveServlet/download/485775-96334/test1.qvw" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;test1.qvw&lt;/A&gt;&lt;SPAN class="clearfix j-attachment-info" style="margin: 0 0 0 6px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/485775-96334/test1.qvw" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;test1.qvw&lt;/A&gt;&lt;SPAN class="j-attach-meta font-color-meta" style="font-weight: bold; font-style: inherit; font-size: 11px; font-family: inherit; color: #8b8b8b;"&gt;148.8 K&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 06:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-fuction/m-p/626184#M1110389</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-12T06:06:55Z</dc:date>
    </item>
  </channel>
</rss>

