<?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 sum or aggr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-or-aggr/m-p/159673#M34232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to determine the % total annual sales for each country&lt;/P&gt;&lt;P&gt;sample:&lt;/P&gt;&lt;P&gt;Country year 2010 % year 2009 % year 2008&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;A 100 33,33 500 50 ..........&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;B 200 66,66 500 50 ..............&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;country is a dynamic group by and the user can change selection&lt;/P&gt;&lt;P&gt;user can change temporal vision to split in year/month&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I try to use this formula aggr(SUM([Sales]), [Country],[Year]) but is static&lt;/P&gt;&lt;P&gt;sum(total [Sales]) is wrong&lt;/P&gt;&lt;P&gt;which formula should I use?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Oct 2010 17:12:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-26T17:12:44Z</dc:date>
    <item>
      <title>sum or aggr</title>
      <link>https://community.qlik.com/t5/QlikView/sum-or-aggr/m-p/159673#M34232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to determine the % total annual sales for each country&lt;/P&gt;&lt;P&gt;sample:&lt;/P&gt;&lt;P&gt;Country year 2010 % year 2009 % year 2008&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;A 100 33,33 500 50 ..........&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;B 200 66,66 500 50 ..............&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;country is a dynamic group by and the user can change selection&lt;/P&gt;&lt;P&gt;user can change temporal vision to split in year/month&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I try to use this formula aggr(SUM([Sales]), [Country],[Year]) but is static&lt;/P&gt;&lt;P&gt;sum(total [Sales]) is wrong&lt;/P&gt;&lt;P&gt;which formula should I use?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 17:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-or-aggr/m-p/159673#M34232</guid>
      <dc:creator />
      <dc:date>2010-10-26T17:12:44Z</dc:date>
    </item>
    <item>
      <title>sum or aggr</title>
      <link>https://community.qlik.com/t5/QlikView/sum-or-aggr/m-p/159674#M34233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey train,&lt;/P&gt;&lt;P&gt;everything seems to be fine.&lt;/P&gt;&lt;P&gt;Try to do the aggregate directly with the name of the dynamic group.&lt;/P&gt;&lt;P&gt;aggr(SUM([Sales]), NameOfYourDynamicGroup)&lt;/P&gt;&lt;P&gt;I've tried something recently with a hierarchical group.&lt;/P&gt;&lt;P&gt;In QV9, it will show you this is a bad field name, but you don't have to worry, they don't recognize it as a variable, but it doesn't mean this is not correct.&lt;/P&gt;&lt;P&gt;You can find more info in my bug report :&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/p/35970/140928.aspx#140928&lt;/P&gt;&lt;P&gt;I hope it will helps !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 17:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-or-aggr/m-p/159674#M34233</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2010-10-26T17:20:09Z</dc:date>
    </item>
  </channel>
</rss>

