<?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: Show higher values AND smaller than current, using different columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25474#M776971</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;Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2018 17:53:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-26T17:53:38Z</dc:date>
    <item>
      <title>Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25472#M776968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Imagine the following scenario: a set of records as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Field1, Field2, Field3, Field4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the applied filters, the information visualized is from the third line: &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;9,10,11,12&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know, among all the values in my recordset,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What is the next value down from the Field 3 column. The answer would be &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;7&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;What is the next value up from the Field 4 column. The answer would be &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;16&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answers will be displayed in the same query, without changing my current filtering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is as if I wanted to display the current value and also the maximum value using the Max() function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to display the next higher or lower value for different columns, as the case may be. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luiz Carlos.&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/Show-higher-values-AND-smaller-than-current-using-different/m-p/25472#M776968</guid>
      <dc:creator>luiz_damascena</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25473#M776969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will you be elaborate on where exactly are you hoping to see 7 and 16? And it will be always Field 3 down and Field 4 up? or is there another way user are able to determine this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 17:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25473#M776969</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-26T17:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25474#M776971</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;Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 17:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25474#M776971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T17:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25475#M776972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to make the question clearer ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us assume that Field1 is the product code (a car, for example), Field2 is a month, Field3 is the average consumption, Field4 is the highest speed achieved, Field5 is the longest distance traveled, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is, each field after Field2 are measured quantities relative to my car, in a given month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the information of car 1 in March, I also want to see what the average consumption is closer to mine, up and down; at the same time, I want to know the highest speed, up and down, always considering all the cars in the same month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not use classification. Assuming a possible index using Field1, the desired information (in relation to my average consumption, which is immediately below mine?) will not be in the "top line". It can be anywhere, in any line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I return to the example of the maximum and minimum: displaying my speed, to know the highest and lowest speeds recorded, considering all vehicles, it would be enough to use max () and min ().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I do not want the maximum value: I want the value closest to mine, which can be in any line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have elaborated better ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luiz Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 12:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25475#M776972</guid>
      <dc:creator>luiz_damascena</dc:creator>
      <dc:date>2018-04-27T12:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25476#M776973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I tried to elaborate a better question... please, read it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 12:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25476#M776973</guid>
      <dc:creator>luiz_damascena</dc:creator>
      <dc:date>2018-04-27T12:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25477#M776974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting approach, Mauri, but not exactly what I want. But thank you! I tried to elaborate my question better... please, read it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 12:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25477#M776974</guid>
      <dc:creator>luiz_damascena</dc:creator>
      <dc:date>2018-04-27T12:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25478#M776975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;That is, each field after Field2 are measured quantities relative to my car, in a given month.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So, your car is not part of the data because everything is relative to your car?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Looking at the information of car 1 in March&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Now car 1 is your car? but this is not part of the database or is it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am feeling lost, would you be able to share a sample or sample data and give out exactly what you are hoping to get out of it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 12:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25478#M776975</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-27T12:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25479#M776976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please attach a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 13:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25479#M776976</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-27T13:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25480#M776977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right now, grateful for your attention and patience ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;My car&lt;/EM&gt;" is part of the data. Each car in the database has its own information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a sample data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fields&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;carCode, monitoredMonth, averageConsumption, highestSpeed​, distanceTraveled&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Values&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'courier new', courier;"&gt;1, Jan, 14.2, 100, 240&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;EM&gt;2, Jan,&amp;nbsp; 7.7,&amp;nbsp; 85, 400&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;EM&gt;3, Jan, 12.1, 120, 200&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;EM&gt;4, Jan,&amp;nbsp; 8.5,&amp;nbsp; 92, 130&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'courier new', courier;"&gt;5, Jan, 10.1,&amp;nbsp; 70, 350&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As extra information, the units of measure of the columns: averageConsumption km / l, highestSpeed ​​km / h, distanceTraveled km.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seeing information from &lt;STRONG&gt;car 3&lt;/STRONG&gt;, I see that &lt;STRONG&gt;&lt;EM&gt;averageConsumption is 12.1 km / l&lt;/EM&gt;&lt;/STRONG&gt;, &lt;STRONG&gt;&lt;EM&gt;highestSpeed 120 km / h&lt;/EM&gt;&lt;/STRONG&gt;, &lt;STRONG&gt;&lt;EM&gt;distanceTraveled 200 km&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I want to display the averageConsumption &lt;STRONG&gt;immediately lower&lt;/STRONG&gt; than that of car 3, 12.1 Km / l, which will be on the screen. The answer will be &lt;STRONG&gt;10.1 km / l&lt;/STRONG&gt; (&lt;EM&gt;information linked to car 5&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to show the distance traveled &lt;STRONG&gt;immediately greater&lt;/STRONG&gt; than that of the car, 200 Km, which will be on the screen. The answer will be &lt;STRONG&gt;240 km&lt;/STRONG&gt; (&lt;EM&gt;information linked to car 1&lt;/EM&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 13:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25480#M776977</guid>
      <dc:creator>luiz_damascena</dc:creator>
      <dc:date>2018-04-27T13:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25481#M776978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&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/201002_Capture.PNG" style="height: 173px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 14:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25481#M776978</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-27T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25482#M776979</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;I would use peek &lt;/P&gt;&lt;P&gt;So something Like&lt;/P&gt;&lt;P&gt;ABOVE:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROWNO()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS Order,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELD1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PEEK(FIELD,-1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as ABOVEFIELD1,&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then reload the Table is reverse order to get the below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOCONCATENATE&lt;/P&gt;&lt;P&gt;BELOW:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Order ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PEEK(FIELD,-1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as BELOWFIELD1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Resident ABOVE&lt;/P&gt;&lt;P&gt;Order by Order desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 14:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25482#M776979</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2018-04-27T14:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25483#M776980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost there!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, the expression you created is scary ... lol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you select the car, it shows the car number that meets the condition - and I want to show the value read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Selecting car 3, is shown in Closet Field A Car number 5. But I want to show the value that is in this field, for car 5. In the case, 10.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I could not adjust your expression ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 14:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25483#M776980</guid>
      <dc:creator>luiz_damascena</dc:creator>
      <dc:date>2018-04-27T14:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25484#M776981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="201006" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/201006_Capture.PNG" style="height: 175px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changed this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(RangeMin(Fabs(FieldA - Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))), fabs(FieldA - Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fabs(FieldA - Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))), fabs(FieldA - Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({1} Aggr(Above(Only({1} &lt;SPAN style="color: #ff0000;"&gt;FieldA&lt;/SPAN&gt;)), Month, (FieldA, (NUMERIC, asc)))), Only({1} Aggr(Below(Only({1} &lt;SPAN style="color: #ff0000;"&gt;FieldA&lt;/SPAN&gt;)), Month, (FieldA, (NUMERIC, asc)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 14:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25484#M776981</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-27T14:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25485#M776982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If doing this in the script is an option, i.e., this information remain static and doesn't change based on selection, I would do it the way &lt;A href="https://community.qlik.com/people/mark6505"&gt;mark6505&lt;/A&gt;‌ has pointed out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 14:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25485#M776982</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-27T14:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25486#M776983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Perfect!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll check the possibility of doing it via script, but what I wanted, your expression does!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it is to understand more and adapt to my data model ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, thank you, again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luiz Carlos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 15:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25486#M776983</guid>
      <dc:creator>luiz_damascena</dc:creator>
      <dc:date>2018-04-27T15:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25487#M776984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me break it down a little&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step1 - Calculate the difference between Current Car - Value Above and Value Below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(RangeMin(Fabs(&lt;SPAN style="color: #ff0000;"&gt;FieldA - Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))&lt;/SPAN&gt;), fabs(&lt;SPAN style="color: #339966;"&gt;FieldA - Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))&lt;/SPAN&gt;)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fabs(FieldA - Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))), fabs(FieldA - Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))), Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In this step, you can probably use set analysis instead of using Aggr() and Above() which will make your expression perform better... but if we continue with this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Step2 - find the absolute value of the difference&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(RangeMin(&lt;SPAN style="color: #ff0000;"&gt;Fabs(&lt;/SPAN&gt;FieldA - Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;, &lt;SPAN style="color: #339966;"&gt;fabs(&lt;/SPAN&gt;FieldA - Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))&lt;SPAN style="color: #339966;"&gt;)&lt;/SPAN&gt;),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fabs(FieldA - Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))), fabs(FieldA - Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))), Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Step3 - find the min difference&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(&lt;SPAN style="color: #ff0000;"&gt;RangeMin(&lt;/SPAN&gt;Fabs(FieldA - Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))), fabs(FieldA - Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))))&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fabs(FieldA - Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc))))), fabs(FieldA - Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Only({1} Aggr(Above(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))), Only({1} Aggr(Below(Only({1} FieldA)), Month, (FieldA, (NUMERIC, asc)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Step4 - Find the value associated with the minimum difference...&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Pick(Match(MinAbsoluteDifference, AbsoluteDifference1, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AbsoluteDifference2&lt;/SPAN&gt;), Value1, Value2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So if MinAbsoluteDifference = AbsoluteDifference1, then pick Value1, if &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MinAbsoluteDifference = AbsoluteDifference2, then pick Value2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I hope this will make it somewhat easy to understand.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 15:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25487#M776984</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-27T15:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show higher values AND smaller than current, using different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25488#M776985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, &lt;STRONG&gt;Sunny&lt;/STRONG&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 15:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-higher-values-AND-smaller-than-current-using-different/m-p/25488#M776985</guid>
      <dc:creator>luiz_damascena</dc:creator>
      <dc:date>2018-04-27T15:17:45Z</dc:date>
    </item>
  </channel>
</rss>

