<?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: Aggregating measures in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregating-measures/m-p/1186770#M383900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny. Much appreciated &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 14:25:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-19T14:25:31Z</dc:date>
    <item>
      <title>Aggregating measures</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-measures/m-p/1186768#M383898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to build the following column in the below table in QV. I need the max Sales person sales amount for the each row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="504"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;Sales_Person&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="116"&gt;sum(Sales)&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="192"&gt;Max SP Sales (Requirement)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Joy&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1/1/2016&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;$50.00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Joy&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1/2/2016&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;$150.00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Joy&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1/3/2016&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;$100.00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Tim&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1/1/2016&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;$30.00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Tim&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1/2/2016&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;$45.00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;45&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to use the following expression, but to no avail.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(total &amp;lt;Sales_Person&amp;gt; aggr(sum(Sales), Sales_Person))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your guidance. Thanks V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 18:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-measures/m-p/1186768#M383898</guid>
      <dc:creator />
      <dc:date>2016-09-16T18:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating measures</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-measures/m-p/1186769#M383899</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;STRONG&gt;Max(total &amp;lt;Sales_Person&amp;gt; aggr(sum(Sales), Sales_Person&lt;SPAN style="color: #ff0000;"&gt;, Date&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137758_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 19:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-measures/m-p/1186769#M383899</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-16T19:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating measures</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-measures/m-p/1186770#M383900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny. Much appreciated &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 14:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-measures/m-p/1186770#M383900</guid>
      <dc:creator />
      <dc:date>2016-09-19T14:25:31Z</dc:date>
    </item>
  </channel>
</rss>

