<?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: max value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/max-value/m-p/943913#M325276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See file attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Sep 2015 21:00:04 GMT</pubDate>
    <dc:creator>ecolomer</dc:creator>
    <dc:date>2015-09-25T21:00:04Z</dc:date>
    <item>
      <title>max value</title>
      <link>https://community.qlik.com/t5/QlikView/max-value/m-p/943909#M325272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i have a list box with some numeric value&lt;/P&gt;&lt;P&gt;i want to have a text object that show the maximum value of the list box&lt;/P&gt;&lt;P&gt;i know this is the very simple but my question is this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="174" style="border: 1px solid rgb(0, 0, 0); width: 109px; height: 146px;"&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;Values&lt;/STRONG&gt;&lt;/TH&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;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if user select number 7 from this list i want to see 5 in the text object&lt;BR /&gt;it means that i want to see the maximum of values from the new list with smaller than user selected value (in this example it meant the max from 1,4,5 and its 5)&lt;/P&gt;&lt;P&gt;if user select 5 i want to see 7&lt;/P&gt;&lt;P&gt;what should i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 20:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-value/m-p/943909#M325272</guid>
      <dc:creator>omid5ive</dc:creator>
      <dc:date>2015-09-25T20:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: max value</title>
      <link>https://community.qlik.com/t5/QlikView/max-value/m-p/943910#M325273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is necesary to have list of number in the same list?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 20:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-value/m-p/943910#M325273</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-09-25T20:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: max value</title>
      <link>https://community.qlik.com/t5/QlikView/max-value/m-p/943911#M325274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand your explantation - if the user picks 7 are you saying the highest is 5 because that is the highest number up to what they selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if that is true than I do not understant why if they pick 5, the user should be 7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 20:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-value/m-p/943911#M325274</guid>
      <dc:creator />
      <dc:date>2015-09-25T20:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: max value</title>
      <link>https://community.qlik.com/t5/QlikView/max-value/m-p/943912#M325275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression works in a text box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr( If(N = Only( {1} N), Above(Only( {1} N)) ) , N )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 20:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-value/m-p/943912#M325275</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-09-25T20:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: max value</title>
      <link>https://community.qlik.com/t5/QlikView/max-value/m-p/943913#M325276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See file attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 21:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-value/m-p/943913#M325276</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-09-25T21:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: max value</title>
      <link>https://community.qlik.com/t5/QlikView/max-value/m-p/943914#M325277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="2015-09-25 #2.png" class="jive-image image-1" src="/legacyfs/online/100102_2015-09-25 #2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also turned on the option (checkbox) of "Only One Selected Value" for the properties of the list box... not entirely necessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 21:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-value/m-p/943914#M325277</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-09-25T21:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: max value</title>
      <link>https://community.qlik.com/t5/QlikView/max-value/m-p/943915#M325278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique&lt;/P&gt;&lt;P&gt;thanks for your answer&lt;/P&gt;&lt;P&gt;I changed your expression like below and i got my answer correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=max({1-$} if(value&amp;lt;GetFieldSelections(value),value))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 07:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-value/m-p/943915#M325278</guid>
      <dc:creator>omid5ive</dc:creator>
      <dc:date>2015-09-26T07:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: max value</title>
      <link>https://community.qlik.com/t5/QlikView/max-value/m-p/943916#M325279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Petter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;your answer will be correct if in my data source like excel file i have my values in sort mode&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;but if have something like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="149" style="border: 1px solid #000000; width: 62px; height: 87px;" width="60"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;&lt;STRONG&gt;Value&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TH&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;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;i cant get correct answer&lt;/P&gt;&lt;P&gt;i changed the expression that Enrique said and i got correct answer&lt;/P&gt;&lt;P&gt;the correct expression:&lt;/P&gt;&lt;P&gt;=max({1-$} if(value&amp;lt;GetFieldSelections(value),value))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 07:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-value/m-p/943916#M325279</guid>
      <dc:creator>omid5ive</dc:creator>
      <dc:date>2015-09-26T07:30:35Z</dc:date>
    </item>
  </channel>
</rss>

