<?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 Conditional sum (for different group) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-sum-for-different-group/m-p/160598#M34814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SumFees:&lt;BR /&gt;LOAD&lt;BR /&gt; team,&lt;BR /&gt; sum(fee) as "Total Fee"&lt;BR /&gt;RESIDENT data&lt;BR /&gt;GROUP BY team&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Nov 2009 01:45:26 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2009-11-21T01:45:26Z</dc:date>
    <item>
      <title>Conditional sum (for different group)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-for-different-group/m-p/160596#M34812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I would like to do a sum(aggr())in script if possible since my pc is really slow in doing further calculation based on that.&lt;/P&gt;&lt;P&gt;Case like. I have a list of ID, all with there teams. example:&lt;/P&gt;&lt;P&gt;ID, team, fee&lt;/P&gt;&lt;P&gt;1,A,3&lt;/P&gt;&lt;P&gt;2,B,5&lt;/P&gt;&lt;P&gt;3,A,8&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;There are about 200000 unique ID and 4 teams. How can I add up all fees belonging to the same team in script, but not using aggr/partial sum in pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Nov 2009 00:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-for-different-group/m-p/160596#M34812</guid>
      <dc:creator />
      <dc:date>2009-11-21T00:26:55Z</dc:date>
    </item>
    <item>
      <title>Conditional sum (for different group)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-for-different-group/m-p/160597#M34813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proabably what you can do is write SQL and make a new field to get the sum using group by statement (cretea a new temp table and use join to attach to the original table). use avg(newfle) in the pivot table- carefull it should pivot on the same group else you will have differnt answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Nov 2009 00:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-for-different-group/m-p/160597#M34813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-21T00:40:18Z</dc:date>
    </item>
    <item>
      <title>Conditional sum (for different group)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-for-different-group/m-p/160598#M34814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SumFees:&lt;BR /&gt;LOAD&lt;BR /&gt; team,&lt;BR /&gt; sum(fee) as "Total Fee"&lt;BR /&gt;RESIDENT data&lt;BR /&gt;GROUP BY team&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Nov 2009 01:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-for-different-group/m-p/160598#M34814</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-11-21T01:45:26Z</dc:date>
    </item>
    <item>
      <title>Conditional sum (for different group)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-for-different-group/m-p/160599#M34815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Thanks to your suggestion. It's work. However, I have something similar here that fields are not from one table, fields are from several tables which linked in Qlikview. I try to use 'from field' to do it. But there is something wrong....&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 15:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-for-different-group/m-p/160599#M34815</guid>
      <dc:creator />
      <dc:date>2009-11-23T15:31:11Z</dc:date>
    </item>
  </channel>
</rss>

