<?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: Logic Help,Above or Below Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257601#M871537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better Approach could be this, Some how we don't have ID with us. So you may create Preceding Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added simple function with the following ID like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rowno() as ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Mindaugas Bacius wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am not sure if this would work all the time under your circumstances:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Table:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;load *, &lt;STRONG&gt;Rowno() as ID&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;inline&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;[&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Month,Rate,Qtr&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Mar,10,Q1&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Apr,12,Q1&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;May,12,Q1&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Jun,12,Q2&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Jul,13,Q2&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Aug,13,Q2&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Sep,13,Q3&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Oct,14,Q3&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Nov,14,Q3&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Dec,14,Q4&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Jan,10,Q4&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Feb,10,Q4]&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;tmp:&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(ID = 12, Rate, Peek(Rate)) as [New Rate]&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Resident Table&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Order by ID desc&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;DROP Table Table;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;IMG alt="Screenshot_1.jpg" class="jive-image image-1" height="282" src="https://community.qlik.com/legacyfs/online/143974_Screenshot_1.jpg" style="height: auto;" width="234" /&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2016 09:19:44 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-11-16T09:19:44Z</dc:date>
    <item>
      <title>Logic Help,Above or Below Function</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257595#M871531</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;This is my Sample Data &lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Month,Rate,Qtr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mar,10,Q1&lt;/P&gt;&lt;P&gt;Apr,12,Q1&lt;/P&gt;&lt;P&gt;May,12,Q1&lt;/P&gt;&lt;P&gt;Jun,12,Q2&lt;/P&gt;&lt;P&gt;Jul,13,Q2&lt;/P&gt;&lt;P&gt;Aug,13,Q2&lt;/P&gt;&lt;P&gt;Sep,13,Q3&lt;/P&gt;&lt;P&gt;Oct,14,Q3&lt;/P&gt;&lt;P&gt;Nov,14,Q3&lt;/P&gt;&lt;P&gt;Dec,14,Q4,&lt;/P&gt;&lt;P&gt;Jan,10,Q4&lt;/P&gt;&lt;P&gt;Feb,10,Q4];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;output Required&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Month,Rate,Qtr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mar,12,Q1&lt;/P&gt;&lt;P&gt;Apr,12,Q1&lt;/P&gt;&lt;P&gt;May,12,Q1&lt;/P&gt;&lt;P&gt;Jun,13,Q2&lt;/P&gt;&lt;P&gt;Jul,13,Q2&lt;/P&gt;&lt;P&gt;Aug,13,Q2&lt;/P&gt;&lt;P&gt;Sep,14,Q3&lt;/P&gt;&lt;P&gt;Oct,14,Q3&lt;/P&gt;&lt;P&gt;Nov,14,Q3&lt;/P&gt;&lt;P&gt;Dec,10,Q4,&lt;/P&gt;&lt;P&gt;Jan,10,Q4&lt;/P&gt;&lt;P&gt;Feb,10,Q4];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion&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/Logic-Help-Above-or-Below-Function/m-p/1257595#M871531</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help,Above or Below Function</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257596#M871532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the logic of rearranging it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 06:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257596#M871532</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-11-16T06:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help,Above or Below Function</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257597#M871533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not rearranging, first one is input second one is desired output,&lt;/P&gt;&lt;P&gt;u can see in input table march rate is 10, but in desired output March Rate 12 which is the Rate of April.&lt;/P&gt;&lt;P&gt;There Are decided Months where i want next month rate value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 06:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257597#M871533</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2016-11-16T06:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help,Above or Below Function</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257598#M871534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Month,Rate,Qtr&lt;/P&gt;&lt;P&gt;Mar,10,Q1&lt;/P&gt;&lt;P&gt;Apr,12,Q1&lt;/P&gt;&lt;P&gt;May,12,Q1&lt;/P&gt;&lt;P&gt;Jun,12,Q2&lt;/P&gt;&lt;P&gt;Jul,13,Q2&lt;/P&gt;&lt;P&gt;Aug,13,Q2&lt;/P&gt;&lt;P&gt;Sep,13,Q3&lt;/P&gt;&lt;P&gt;Oct,14,Q3&lt;/P&gt;&lt;P&gt;Nov,14,Q3&lt;/P&gt;&lt;P&gt;Dec,14,Q4,&lt;/P&gt;&lt;P&gt;Jan,10,Q4&lt;/P&gt;&lt;P&gt;Feb,10,Q4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;t2:&lt;/P&gt;&lt;P&gt;load Month,max(Rate) as R,Qtr&lt;/P&gt;&lt;P&gt;Resident t1&lt;/P&gt;&lt;P&gt;Group by Qtr,Month;&lt;/P&gt;&lt;P&gt;//drop table t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will give u solution and in Table box sort by order like(Month,Qtr,R,Rate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 07:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257598#M871534</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2016-11-16T07:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help,Above or Below Function</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257599#M871535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you required, Same Rate for Same Quarter which&amp;nbsp; is the next month Value? Does it you are looking?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 07:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257599#M871535</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-16T07:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help,Above or Below Function</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257600#M871536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if this would work all the time under your circumstances:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;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gt;Order by ID desc&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;DROP Table Table;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143993_Screenshot_1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 07:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257600#M871536</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-11-16T07:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help,Above or Below Function</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257601#M871537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better Approach could be this, Some how we don't have ID with us. So you may create Preceding Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added simple function with the following ID like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rowno() as ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Mindaugas Bacius wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am not sure if this would work all the time under your circumstances:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Table:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;load *, &lt;STRONG&gt;Row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&gt;Resident Table&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Order by ID desc&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;DROP Table Table;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;IMG alt="Screenshot_1.jpg" class="jive-image image-1" height="282" src="https://community.qlik.com/legacyfs/online/143974_Screenshot_1.jpg" style="height: auto;" width="234" /&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 09:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-Above-or-Below-Function/m-p/1257601#M871537</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-16T09:19:44Z</dc:date>
    </item>
  </channel>
</rss>

