<?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: Alternative of Above() Function in Backend Script. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042170#M927231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your desired output needs Below() not Above().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2016 08:42:58 GMT</pubDate>
    <dc:creator>tyagishaila</dc:creator>
    <dc:date>2016-03-22T08:42:58Z</dc:date>
    <item>
      <title>Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042169#M927228</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;Is there any Alternative for Above() Function in backend Script.&lt;/P&gt;&lt;P&gt;I don't wan't to use Order By desc in Script.&lt;/P&gt;&lt;P&gt;because I need Previous() and Above() at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have achieved Result with Previous but for Above() I haven't received the Result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this:&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Sample Code.png" class="jive-image image-1" src="/legacyfs/online/118884_Sample Code.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the Attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eric&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/Alternative-of-Above-Function-in-Backend-Script/m-p/1042169#M927228</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042170#M927231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your desired output needs Below() not Above().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 08:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042170#M927231</guid>
      <dc:creator>tyagishaila</dc:creator>
      <dc:date>2016-03-22T08:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042171#M927234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i thnk below will work&lt;/P&gt;&lt;P&gt;chk this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8242"&gt;Missing Manual - Above() and Below()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 08:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042171#M927234</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-22T08:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042172#M927236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use below() function to achieve your result, PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 08:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042172#M927236</guid>
      <dc:creator>jvishnuram</dc:creator>
      <dc:date>2016-03-22T08:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042173#M927238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Peek() apart from Above().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 08:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042173#M927238</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2016-03-22T08:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042174#M927239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this script - &lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;Number, Name, Code_1&lt;/P&gt;&lt;P&gt;1,India,NOT SAME&lt;/P&gt;&lt;P&gt;2,India,SAME&lt;/P&gt;&lt;P&gt;3,Uk,NOT SAME&lt;/P&gt;&lt;P&gt;4,Uk,SAME&lt;/P&gt;&lt;P&gt;5,Uk,SAME&lt;/P&gt;&lt;P&gt;6,USA,NOT SAME&lt;/P&gt;&lt;P&gt;7,Russia,NOT SAME&lt;/P&gt;&lt;P&gt;8,France,NOT SAME ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t2:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; alt(Peek('Code_1',Recno(),'t1'),Code_1) as Code_2&lt;/P&gt;&lt;P&gt;Resident t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table t1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 08:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042174#M927239</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-22T08:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042175#M927240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can be done without Aggr() function as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Below(TOTAL Name) = Name, 'Same', 'No Same')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 08:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042175#M927240</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T08:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042176#M927241</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 Peek().&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>Tue, 22 Mar 2016 08:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042176#M927241</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-22T08:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042177#M927242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yet another method could be using a similar to As-of Table concept:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Previous(Name)=Name,'SAME','NOT SAME') AS Code_1 INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NUMBER, Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1, INDIA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2, INDIA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3, UK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4, UK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5, UK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6, USA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;7, RUSSIA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;8, FRANCE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Link:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD NUMBER as LINK_NUM,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; NUMBER,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 'C' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate (Link)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD NUMBER as LINK_NUM,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; NUMBER + 1 as NUMBER,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 'L' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118928_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: &lt;STRONG&gt;LINK_NUM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;=Only({&amp;lt;Flag = {'C'}&amp;gt;} Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt;=If(Only({&amp;lt;Flag = {'C'}&amp;gt;} Name) = Only({&amp;lt;Flag = {'L'}&amp;gt;} Name), 'SAME', 'NOT SAME')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/118929_Capture.PNG" style="height: 147px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 09:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042177#M927242</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T09:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042178#M927243</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;I appreciate each and everyone's effort but&amp;nbsp; i want the logic in Back end at Script level not at front end chart level.&lt;/P&gt;&lt;P&gt;Also, I need the Code_1 and Code_2 in one Load. I don't have to use concatenate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 09:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042178#M927243</guid>
      <dc:creator />
      <dc:date>2016-03-22T09:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042179#M927244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 11:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042179#M927244</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-22T11:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042180#M927245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you can't access the next input record from the current input record (in contrary to the previous record using previous() function), so QlikView won't allow to see the future, if that's what you are after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have loaded the complete table, you can access the records in subsequent loads in different ways, but as I read your request, that's not what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 12:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042180#M927245</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-22T12:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative of Above() Function in Backend Script.</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042181#M927246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny / Stefan !&lt;/P&gt;&lt;P&gt;Can u help in my case too !!&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1454399"&gt;Compare with Old Data&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 03:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-of-Above-Function-in-Backend-Script/m-p/1042181#M927246</guid>
      <dc:creator>sudhir0538</dc:creator>
      <dc:date>2018-03-19T03:13:10Z</dc:date>
    </item>
  </channel>
</rss>

