<?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: Question aggregate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540901#M202172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Salto! That do the work, but I'd love to do it with set analysis because this is a dummy test, but in my case I'm talking about millions of rows, and in the last row of "number", you have to put the sum of all the related values above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it should be withh aggr, because there's no only a "date" field to consider, it has to consider 5 fields more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2013 08:00:36 GMT</pubDate>
    <dc:creator>marcel_olmo</dc:creator>
    <dc:date>2013-10-29T08:00:36Z</dc:date>
    <item>
      <title>Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540899#M202170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, if I have a table like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 208px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="104"&gt;Date&lt;/TD&gt;&lt;TD width="104"&gt;Number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/01/2012&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/02/2012&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/03/2012&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/04/2012&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/05/2012&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/06/2012&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I get a table like this with set analysis ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 208px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="104"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="104"&gt;Number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/01/2012&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/02/2012&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/03/2012&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/04/2012&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/05/2012&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="20"&gt;20/06/2012&lt;/TD&gt;&lt;TD align="right"&gt;10&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;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 07:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540899#M202170</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-10-29T07:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540900#M202171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA my solution... hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 07:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540900#M202171</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-10-29T07:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540901#M202172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Salto! That do the work, but I'd love to do it with set analysis because this is a dummy test, but in my case I'm talking about millions of rows, and in the last row of "number", you have to put the sum of all the related values above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it should be withh aggr, because there's no only a "date" field to consider, it has to consider 5 fields more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 08:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540901#M202172</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-10-29T08:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540902#M202173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a little change to get total on June not on April&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 08:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540902#M202173</guid>
      <dc:creator />
      <dc:date>2013-10-29T08:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540903#M202174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my real case :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="368"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl24" height="20" width="104"&gt;Date&lt;/TD&gt;&lt;TD class="xl24" style="border-left: none;" width="56"&gt;ID&lt;/TD&gt;&lt;TD class="xl24" style="border-left: none;" width="104"&gt;Total Value&lt;/TD&gt;&lt;TD class="xl24" style="border-left: none;" width="104"&gt;Number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="20" style="border-top: none;" width="104"&gt;11/03/2009&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="56"&gt;R041060&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;40,25&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="20" style="border-top: none;" width="104"&gt;24/08/2009&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="56"&gt;R041060&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;74,07&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="20" style="border-top: none;" width="104"&gt;05/08/2010&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="56"&gt;R041060&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;289,02&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="20" style="border-top: none;" width="104"&gt;20/08/2010&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="56"&gt;R041060&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;89,93&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my desired result would be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 416px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl24" height="20" width="104"&gt;Date&lt;/TD&gt;&lt;TD class="xl24" style="border-left: none;" width="104"&gt;ID&lt;/TD&gt;&lt;TD class="xl24" style="border-left: none;" width="104"&gt;Total New&lt;/TD&gt;&lt;TD class="xl24" style="border-left: none;" width="104"&gt;Number New&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="20" style="border-top: none;" width="104"&gt;11/03/2009&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041060&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="20" style="border-top: none;" width="104"&gt;24/08/2009&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041060&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="20" style="border-top: none;" width="104"&gt;05/08/2010&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041060&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="20" style="border-top: none;" width="104"&gt;20/08/2010&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041060&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;493,27&lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;" width="104"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 08:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540903#M202174</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-10-29T08:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540904#M202175</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;I have tried with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;=aggr(sum(TotalValue),ID)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;=aggr(count(total Number),ID)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the result is not exactly what we are looking for... sorry about that,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 09:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540904#M202175</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-10-29T09:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540905#M202176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Salto for the try! I know this is not that easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My proper example of what I'm looking for would be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;This is my current table :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="416"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl22" height="20" width="104"&gt;Date&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;ID&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;Total Value&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;Number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl23" height="20" width="104"&gt;11/03/2009&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;40,25&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl23" height="20" width="104"&gt;24/08/2009&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;74,07&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl23" height="20" width="104"&gt;05/08/2010&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;289,02&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl23" height="20" width="104"&gt;20/08/2010&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;89,93&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl23" height="20" width="104"&gt;12/03/2009&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;50,25&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl23" height="20" width="104"&gt;25/08/2009&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;84,07&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl23" height="20" width="104"&gt;07/08/2010&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;389,02&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl23" height="20" width="104"&gt;22/08/2010&lt;/TD&gt;&lt;TD class="xl22" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;99,93&lt;/TD&gt;&lt;TD align="right" class="xl22" width="104"&gt;1&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;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;This is my desired table :&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 416px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl24" height="20" width="104"&gt;Date&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;ID&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;Total Value&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;Number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" width="104"&gt;11/03/2009&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" width="104"&gt;24/08/2009&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" width="104"&gt;05/08/2010&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" width="104"&gt;20/08/2010&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;493,27&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" width="104"&gt;12/03/2009&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" width="104"&gt;25/08/2009&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" width="104"&gt;07/08/2010&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" width="104"&gt;22/08/2010&lt;/TD&gt;&lt;TD class="xl24" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;623,27&lt;/TD&gt;&lt;TD align="right" class="xl24" width="104"&gt;4&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;Anybody knows how to make it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 10:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540905#M202176</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-10-29T10:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540906#M202177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calculation as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;MaxString(ID)&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;gt;&lt;/P&gt;&lt;P&gt;below(Total ID)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Total&amp;lt;ID&amp;gt;[Total Value]),' ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/48274_Capture.JPG.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 10:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540906#M202177</guid>
      <dc:creator>bdunphy</dc:creator>
      <dc:date>2013-10-29T10:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540907#M202178</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;variable&lt;/P&gt;&lt;P&gt;FromDate=&amp;nbsp;&amp;nbsp;&amp;nbsp; =max(DATE)&lt;/P&gt;&lt;P&gt;ToDate=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =min(DATE)&lt;/P&gt;&lt;P&gt;EXpression&lt;/P&gt;&lt;P&gt;aggr( RangeSum(above(sum({&amp;lt;DATE={"&amp;gt;=$(ToDate) &amp;lt;=$(FromDate)"}&amp;gt;}Sales),0,RowNo())),DATE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 10:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540907#M202178</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-10-29T10:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540908#M202179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the try Mohit!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The min and max Date has to be dinamically, because it depends on more than one field which is the maximum date per ID.&lt;/P&gt;&lt;P&gt;And in the total row will get the same total result as a regular sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I'm trying to get :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="416"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl24" height="20" width="104"&gt;Date&lt;/TD&gt;&lt;TD class="xl24" style="border-left: none;" width="104"&gt;ID&lt;/TD&gt;&lt;TD class="xl24" style="border-left: none;" width="104"&gt;Total Value&lt;/TD&gt;&lt;TD class="xl24" style="border-left: none;" width="104"&gt;Number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" style="border-top: none;" width="104"&gt;11/03/2009&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" style="border-top: none;" width="104"&gt;24/08/2009&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" style="border-top: none;" width="104"&gt;05/08/2010&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" style="border-top: none;" width="104"&gt;20/08/2010&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041060&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;493,27&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" style="border-top: none;" width="104"&gt;12/03/2009&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" style="border-top: none;" width="104"&gt;25/08/2009&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" style="border-top: none;" width="104"&gt;07/08/2010&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl25" height="20" style="border-top: none;" width="104"&gt;22/08/2010&lt;/TD&gt;&lt;TD class="xl26" style="border-top: none; border-left: none;" width="104"&gt;R041065&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;623,27&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-top: none; border-left: none;" width="104"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl27" height="20" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl27" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl28" height="21" style="border-top: none;"&gt;Total&lt;/TD&gt;&lt;TD class="xl28" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl28" style="border-top: none; border-left: none;"&gt;1116,54&lt;/TD&gt;&lt;TD align="right" class="xl28" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 10:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540908#M202179</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-10-29T10:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540909#M202180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this fit your needs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 10:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540909#M202180</guid>
      <dc:creator />
      <dc:date>2013-10-29T10:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540910#M202181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Aggr.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/48268_Aggr.jpg" /&gt;&lt;/P&gt;&lt;P&gt;No way! Values are in the first date &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 12:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540910#M202181</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-10-29T12:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540911#M202182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Brian! It works well in this table. But as I see, it works depending on the Id on the table. What I mean is that in the table I haven't explicitly the ID, and there are more fields to take in count to get the correct sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine there's ID, ID1, ID2, ....IDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How this will work with a lot of related fields without needing to add this fields into the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 12:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540911#M202182</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-10-29T12:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540912#M202183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as an example - I use this calculation to give a stock total for Item Subgroup within Customer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table itself has approx 10 dimensions. It does not matter how many. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just check it the row below is a new customer or a new Item Subgroup and if it is - I display the total for that Customer, Item Subgroup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it with your data. or if you can - post a sample qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;If(&lt;/P&gt;
&lt;P&gt;MaxString(Customer)&lt;/P&gt;
&lt;P&gt;&amp;lt;&amp;gt;&lt;/P&gt;
&lt;P&gt;below(Total MaxString(Customer))&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;MaxString([Item Subgroup])&lt;/P&gt;
&lt;P&gt;&amp;lt;&amp;gt;&lt;/P&gt;
&lt;P&gt;below(Total MaxString([Item Subgroup]))&lt;/P&gt;
&lt;P&gt;, &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Sum(Total&amp;lt;Customer,[Item Subgroup]&amp;gt; [Total Stock Wgt]),' ')&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 12:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540912#M202183</guid>
      <dc:creator>bdunphy</dc:creator>
      <dc:date>2013-10-29T12:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540913#M202184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Brian! You're very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it still don't work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the QV document you will have a table with my "current result", my "desired result" and another one with what I'm trying based on your formula-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a sample of what I'm doing. Could you tell me what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 16:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540913#M202184</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-10-29T16:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540914#M202185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send you a try attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 17:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-aggregate/m-p/540914#M202185</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2013-10-29T17:00:30Z</dc:date>
    </item>
  </channel>
</rss>

