<?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: Evaluate surrounding rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445910#M433314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure about this &lt;STRONG style="font-family: inherit; font-style: inherit; font-size: 10pt;"&gt;set the number of rows as a variable, changeable by the user.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;what do you mean by this? Can you please give one example with what exactly you want to achieve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 09:37:13 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-08-23T09:37:13Z</dc:date>
    <item>
      <title>Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445907#M433311</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;given e.g. a table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="150" style="border: 1px solid rgb(0, 0, 0); width: 109px; height: 152px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to evaluate the surrounding rows of every row.&lt;/P&gt;&lt;P&gt;That means for example to get an expression that results in this additional column:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="151" style="border: 1px solid rgb(0, 0, 0); width: 98px; height: 153px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;magic&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It tells, how many of the identical values surround the current row up to 2 rows in each direction.&lt;/P&gt;&lt;P&gt;1: is A -&amp;gt; no A in 2 or 3 =&amp;gt; 0&lt;/P&gt;&lt;P&gt;2: is B -&amp;gt; no B in 1, B in 3, no B in 4 =&amp;gt; 1&lt;/P&gt;&lt;P&gt;3: is B -&amp;gt; no B in 1, B in 2, no B in 4, B in 5 =&amp;gt; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to do this and similar questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question would be: How many rows with the same value are (sequentially) above me/below me?&lt;/P&gt;&lt;P&gt;resulting in (for above): 0, 0, 1, 0, 0 - because just the B in 3 has another B above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 16:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445907#M433311</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-22T16:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445908#M433312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P&gt;FROM table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New:&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rowno() as Row&lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;order by ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(New)&lt;/P&gt;&lt;P&gt;LOAD Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as Flag&lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;where Row=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Flag=1,0,rangesum(peek(Magic),1)) as Magic&lt;/P&gt;&lt;P&gt;resident New;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table New;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 17:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445908#M433312</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-22T17:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445909#M433313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry - I wasn't clear enough.&lt;/P&gt;&lt;P&gt;I want this without the script. Only expressions in a straight table.&lt;/P&gt;&lt;P&gt;I want to be able to e.g. set the number of rows as a variable, changeable by the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 17:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445909#M433313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-22T17:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445910#M433314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure about this &lt;STRONG style="font-family: inherit; font-style: inherit; font-size: 10pt;"&gt;set the number of rows as a variable, changeable by the user.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;what do you mean by this? Can you please give one example with what exactly you want to achieve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 09:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445910#M433314</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-23T09:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445911#M433315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my original post I wrote "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;surround the current row up to 2 rows in each direction"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now I want that this number - 2 - is stored in a variable and can be change by the user via an input field.&lt;/P&gt;&lt;P&gt;This is not a critical reqirement anyway, because I can just use $(vLookahead) instead of 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More important is the requirement that is is not in the load-script, but in an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to highlight a cell, if the current cell is surrounded by more than e.g. 3 rows with the same value.&lt;/P&gt;&lt;P&gt;An this should work also, when the user changes the order of the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 09:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445911#M433315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T09:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445912#M433316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RangeCount(&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Value=Above(Value),1),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Value=Above(Value,2),1),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Value=Below(Value),1),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Value=Below(Value,2),1)&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;&lt;IMG __jive_id="174342" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174342_Capture.PNG" style="height: auto;" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 09:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445912#M433316</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-23T09:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445913#M433317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simpler expression without IFs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'courier new', courier;"&gt;Fabs(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #0000ff;"&gt;RangeSum(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #0000ff;"&gt;&amp;nbsp; Value=Above(Value),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #0000ff;"&gt;&amp;nbsp; Value=Above(Value,2),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #0000ff;"&gt;&amp;nbsp; Value=Below(Value),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #0000ff;"&gt;&amp;nbsp; Value=Below(Value,2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #0000ff;"&gt;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'courier new', courier;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 09:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445913#M433317</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-23T09:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445914#M433318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's pretty much on the path where I am now.&lt;/P&gt;&lt;P&gt;however, now there comes the requirement that I want the 2 be variable (see my answer to &lt;A href="https://community.qlik.com/qlik-users/57428"&gt;kush141087&lt;/A&gt;‌)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 10:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445914#M433318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T10:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445915#M433319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this will be achievable from front end because input field function only works from script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 10:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445915#M433319</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-23T10:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445916#M433320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both questions are the same, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/272145"&gt;Custom Range Functions for e.g. Above with count - in expression (no script)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445916#M433320</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-08-23T12:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445917#M433321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks similar, however this one being &lt;STRONG&gt;string&lt;/STRONG&gt; comparison, I &lt;STRONG&gt;wish&lt;/STRONG&gt; there was a function &lt;STRONG&gt;RangeConcat()&lt;/STRONG&gt; , may be the case could have been handled in an efficient way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445917#M433321</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-23T12:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445918#M433322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, by a string-comparison it will be more difficult but maybe it could be handled with precedes or follows as operators. If not it will be probably far more complicated because a rangeconcat() doesn't exists and AFAIK couldn't also be directly replaced with something similar because it would need a real loop within an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternatively could be a quite ugly expression which concats all values with their needed order (might require additional steps) and some algorithm which picked the right values from there - maybe with some pick(match()) but probably within a lot of nested if-loops. By using the desktop client or the IE plugin could be within the easter eggs macro-functions enabled which could be execute appropriate loops. Both alternatives will need a lot of efforts and are rather the worst case ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445918#M433322</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-08-23T13:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445919#M433323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/209632" title="https://community.qlikview.com/thread/209632"&gt;Range Concat or Something Similar | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445919#M433323</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-23T13:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445920#M433324</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;maybe one dynamic solution might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_272039_Pic2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174621_QlikCommunity_Thread_272039_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_272039_Pic1.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/174622_QlikCommunity_Thread_272039_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_272039_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/174626_QlikCommunity_Thread_272039_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using this 'magic' expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(='-('&amp;amp;Concat('Value=Above(Value,'&amp;amp;ValueLoop(-vLookahead,vLookahead)&amp;amp;')',')-(')&amp;amp;')')&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;-1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 21:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445920#M433324</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-08-24T21:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445921#M433325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many more very useful answers here.&lt;/P&gt;&lt;P&gt;When you are thinking about similar problems, make sure that you check out all the answers below!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 07:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445921#M433325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-25T07:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate surrounding rows</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445922#M433326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can always mark helpful responses in order for helping future visitors find other helpful responses &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 09:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-surrounding-rows/m-p/1445922#M433326</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-25T09:54:32Z</dc:date>
    </item>
  </channel>
</rss>

