<?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 of both values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706436#M725042</link>
    <description>&lt;P&gt;you need something like&lt;/P&gt;&lt;P&gt;MaxString( if( aggr(nodistinct&amp;nbsp; max(Amount), Date) = Amount, Team, null()))&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 09:55:46 GMT</pubDate>
    <dc:creator>martinpohl</dc:creator>
    <dc:date>2020-05-29T09:55:46Z</dc:date>
    <item>
      <title>Max of both values</title>
      <link>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706424#M725041</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've a table like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fab62400_0-1590743391404.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34599i42C14DDF434D7280/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fab62400_0-1590743391404.png" alt="Fab62400_0-1590743391404.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table like this. I would like to find the max of "Amount" and also the corresponding "Team" data.&lt;BR /&gt;For example :&lt;BR /&gt;for the date of 01/08/2013:&lt;BR /&gt;the max of Amount is 25000 and the Team is "Alpha".&lt;BR /&gt;I know how to find the maximum of Amount but not the Team column with set analisys.&lt;/P&gt;&lt;P&gt;=max ({&amp;lt;[SalesGroup]= {'East'}&amp;gt;} VALUE,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to display both values.&lt;/P&gt;&lt;P&gt;Thank for your help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706424#M725041</guid>
      <dc:creator>Fab62400</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max of both values</title>
      <link>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706436#M725042</link>
      <description>&lt;P&gt;you need something like&lt;/P&gt;&lt;P&gt;MaxString( if( aggr(nodistinct&amp;nbsp; max(Amount), Date) = Amount, Team, null()))&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 09:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706436#M725042</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2020-05-29T09:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Max of both values</title>
      <link>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706441#M725043</link>
      <description>&lt;P&gt;May be a simpler one for Team value like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&lt;STRONG&gt;FirstSortedValue&lt;/STRONG&gt; ({&amp;lt;[SalesGroup]= {'East'}&amp;gt;} Team, -Amount)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 10:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706441#M725043</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-05-29T10:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Max of both values</title>
      <link>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706518#M725044</link>
      <description>&lt;P&gt;Thanks it works!&lt;/P&gt;&lt;P&gt;Is it possible to have the 3 max text value&amp;nbsp; like the&amp;nbsp; &amp;nbsp;function max(.., 1)&amp;nbsp;max(.., 2)&amp;nbsp;max(.., 3 ) ?&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706518#M725044</guid>
      <dc:creator>Fab62400</dc:creator>
      <dc:date>2020-05-29T13:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Max of both values</title>
      <link>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706538#M725045</link>
      <description>&lt;P&gt;Just like Max, FirstSortedValue can also show text related to 2nd and 3rd max value&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=FirstSortedValue ({&amp;lt;[SalesGroup]= {'East'}&amp;gt;} Team, -Amount, 1)
=FirstSortedValue ({&amp;lt;[SalesGroup]= {'East'}&amp;gt;} Team, -Amount, 2)
=FirstSortedValue ({&amp;lt;[SalesGroup]= {'East'}&amp;gt;} Team, -Amount, 3)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 29 May 2020 13:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706538#M725045</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-05-29T13:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Max of both values</title>
      <link>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706541#M725046</link>
      <description>&lt;P&gt;Yess !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-of-both-values/m-p/1706541#M725046</guid>
      <dc:creator>Fab62400</dc:creator>
      <dc:date>2020-05-29T13:44:54Z</dc:date>
    </item>
  </channel>
</rss>

