<?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: help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help/m-p/869584#M995014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/babiqlik"&gt;babiqlik&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 11.6999998092651px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {$&amp;lt;Year={$(=Max(Year))},MonthID={$(=Max(MonthID))},&lt;/P&gt;&lt;P&gt;[sales Man]={$(=only(if(aggr(Rank( sum (SALES&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)),[sales Man])=1,[sales Man])))}&amp;gt;} SALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you want max year and month sales mean use this or delete the max year and month Function in this expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 08:29:14 GMT</pubDate>
    <dc:creator>stephenedberkg</dc:creator>
    <dc:date>2015-07-02T08:29:14Z</dc:date>
    <item>
      <title>help</title>
      <link>https://community.qlik.com/t5/QlikView/help/m-p/869578#M995008</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;How to find 2nd highest sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using 1st sorted value we can extract related fields of min &amp;amp; max.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But at this requirement I need to only 2nd highest sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we achieve this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFB of related info for your reference .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 07:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help/m-p/869578#M995008</guid>
      <dc:creator />
      <dc:date>2015-07-02T07:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.qlik.com/t5/QlikView/help/m-p/869579#M995009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you can use Max(sales,2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 07:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help/m-p/869579#M995009</guid>
      <dc:creator>ankit777</dc:creator>
      <dc:date>2015-07-02T07:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.qlik.com/t5/QlikView/help/m-p/869580#M995010</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;u can try &lt;/P&gt;&lt;P&gt;Max(sales)-1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chanty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 07:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help/m-p/869580#M995010</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-07-02T07:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.qlik.com/t5/QlikView/help/m-p/869581#M995011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I got 2nd highest sale but hot extract related field??&lt;/P&gt;&lt;P&gt;I tried in text object but it didn't work.&lt;/P&gt;&lt;P&gt;=FirstSortedValue(name, -Max(sales,2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly look at this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 07:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help/m-p/869581#M995011</guid>
      <dc:creator />
      <dc:date>2015-07-02T07:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.qlik.com/t5/QlikView/help/m-p/869582#M995012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2nd Max Sales&lt;/P&gt;&lt;P&gt;=Max(Aggr(SUM(sales),id,name),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields Related to 2nd Max Sales&lt;/P&gt;&lt;P&gt;=FirstSortedValue(name, -Aggr(SUM(sales),id,name),2)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=FirstSortedValue(Distinct name, -Aggr(SUM(sales),id,name),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 08:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help/m-p/869582#M995012</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-02T08:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.qlik.com/t5/QlikView/help/m-p/869583#M995013</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;Try using Rank() and Aggr() like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For finding the Salesman name with &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Second&amp;nbsp; &lt;/SPAN&gt;Max sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat(Aggr(If(Rank(Sum(Sales)) = 2, Salesman), Salesman), ', ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to find the sales value then&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Max(Aggr(If(Rank(Sum(Sales)) = 2, Sum(Sales)), Salesman))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 08:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help/m-p/869583#M995013</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-02T08:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.qlik.com/t5/QlikView/help/m-p/869584#M995014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/babiqlik"&gt;babiqlik&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 11.6999998092651px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {$&amp;lt;Year={$(=Max(Year))},MonthID={$(=Max(MonthID))},&lt;/P&gt;&lt;P&gt;[sales Man]={$(=only(if(aggr(Rank( sum (SALES&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)),[sales Man])=1,[sales Man])))}&amp;gt;} SALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you want max year and month sales mean use this or delete the max year and month Function in this expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 08:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help/m-p/869584#M995014</guid>
      <dc:creator>stephenedberkg</dc:creator>
      <dc:date>2015-07-02T08:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.qlik.com/t5/QlikView/help/m-p/869585#M995015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FirstSortedValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, -&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),2) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 08:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help/m-p/869585#M995015</guid>
      <dc:creator>ankit777</dc:creator>
      <dc:date>2015-07-02T08:48:46Z</dc:date>
    </item>
  </channel>
</rss>

