<?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: AGGR Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-Function/m-p/1421714#M428819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using a straight table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim1: &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BranchPlant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Dim2&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;: &lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PartNumber&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Exp&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;: &lt;EM&gt;FirstSortedValue( Aggr(Sum(UnitCost),DtDate), -DtDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 11:59:23 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-10-24T11:59:23Z</dc:date>
    <item>
      <title>AGGR Function</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Function/m-p/1421712#M428817</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;&lt;/P&gt;&lt;P&gt;I need to show unit cost for max(DtDate) for combination of&amp;nbsp; branch plant and part number.&lt;/P&gt;&lt;P&gt;I used below formulae but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DtDate={'$(=max(aggr(max(DtDate),BranchPlant,PartNumber)))'}&amp;gt;} UnitCost)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 11:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Function/m-p/1421712#M428817</guid>
      <dc:creator>kishorj1982</dc:creator>
      <dc:date>2017-10-24T11:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR Function</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Function/m-p/1421713#M428818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a new field in the script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber(BranchPlant&amp;amp;PartNumber) as NewField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;NewField = {"=DtDate = Max(TOTAL &amp;lt;NewField&amp;gt; Aggr(DtDate, NewField, DtDate))"}&amp;gt;}UnitCost)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 11:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Function/m-p/1421713#M428818</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-24T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR Function</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Function/m-p/1421714#M428819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using a straight table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim1: &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BranchPlant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Dim2&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;: &lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PartNumber&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Exp&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;: &lt;EM&gt;FirstSortedValue( Aggr(Sum(UnitCost),DtDate), -DtDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 11:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Function/m-p/1421714#M428819</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-24T11:59:23Z</dc:date>
    </item>
  </channel>
</rss>

