<?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: Fetching Value of Make having maximum Invoice Price for each Type in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64484#M10733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;FirstSortedValue(&amp;nbsp; Type, -Invoce)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2018 12:00:55 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2018-06-06T12:00:55Z</dc:date>
    <item>
      <title>Fetching Value of Make having maximum Invoice Price for each Type</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64483#M10732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find out the value of "Make" field which has highest "Invoice" value for each "Type".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have achieved it in the backend, but to make it more dynamic based on front end selection, I need to calculate it at UI level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example of Source Data: (NOTE: Full excel file for the same is attached)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 198px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="62"&gt;Type&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="88"&gt;Make&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="48"&gt;Invoice&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Hybrid&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Honda&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;17911&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Hybrid&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Honda&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;18451&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Hybrid&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Toyota&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;18926&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Wagon&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Audi&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;37060&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Wagon&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Audi&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;44446&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Wagon&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BMW&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;30110&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Wagon&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Chevrolet&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;20394&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Wagon&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Chrysler&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;28725&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Target Output for above partial data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 288px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="96"&gt;Type&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="96"&gt;MAX(Invoice)&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="96"&gt;Max Price maker&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Hybrid&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;18926&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Toyota&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Wagon&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;44446&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Audi&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 11:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64483#M10732</guid>
      <dc:creator>mahesh_agrawal</dc:creator>
      <dc:date>2018-06-06T11:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Value of Make having maximum Invoice Price for each Type</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64484#M10733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;FirstSortedValue(&amp;nbsp; Type, -Invoce)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 12:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64484#M10733</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-06-06T12:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Value of Make having maximum Invoice Price for each Type</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64485#M10734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(Make, -Invoice)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204474_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 12:01:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64485#M10734</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-06T12:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Value of Make having maximum Invoice Price for each Type</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64486#M10735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from this, is there any way we can achieve the same using Nested aggregation with MAX() and AGGR().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You solution is quite simple and awesome. I am just trying to expand my knowledge on use of AGGR() function too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help and look forward to your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 12:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64486#M10735</guid>
      <dc:creator>mahesh_agrawal</dc:creator>
      <dc:date>2018-06-06T12:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Value of Make having maximum Invoice Price for each Type</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64487#M10736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing... try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Concat(Aggr(If(Max(TOTAL &amp;lt;Type&amp;gt; Invoice) = Invoice, Make), Type, Make, Invoice))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 12:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64487#M10736</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-06T12:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Value of Make having maximum Invoice Price for each Type</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64488#M10737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot GURU. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 12:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-Value-of-Make-having-maximum-Invoice-Price-for-each/m-p/64488#M10737</guid>
      <dc:creator>mahesh_agrawal</dc:creator>
      <dc:date>2018-06-06T12:26:23Z</dc:date>
    </item>
  </channel>
</rss>

