<?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: Set and sum, nested aggregation not allowed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812787#M1033900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, so I just needed the parentheses at start, I was trying sum(sum( &lt;/P&gt;&lt;P&gt;BTW I seems like that I only need the extra parentheses in the long formula, because I substract two sum's and must capture that.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 13:21:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-19T13:21:12Z</dc:date>
    <item>
      <title>Set and sum, nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812784#M1033895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I want to divide two formulas in one expression, seperately they work fine:&lt;/P&gt;&lt;P&gt;1. =Sum({&amp;lt;field1={'1'}&amp;gt;} field2)&lt;/P&gt;&lt;P&gt;2. =Sum({&amp;lt;field1={'1'}&amp;gt;} field2) - Sum({&amp;lt;field1={'1'}, field3={'-1'}&amp;gt;} field2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If try a version with (2.)/(1.) it does not work. If I try that i get 'nested aggregation not allowed' if I add serveral sum functions. Further more I tried to put them in two variables and then divide the variables, but then I get a wrong number. Do I need if and aggr instead? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 12:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812784#M1033895</guid>
      <dc:creator />
      <dc:date>2015-01-19T12:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set and sum, nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812785#M1033896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try adding parentheses before each formula so that it will be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;field1={'1'}&amp;gt;} field2) - Sum({&amp;lt;field1={'1'}, field3={'-1'}&amp;gt;} field2) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;field1={'1'}&amp;gt;} field2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also what is the chart type that you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 13:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812785#M1033896</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2015-01-19T13:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set and sum, nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812786#M1033898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the mistake it returns when you do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum({&amp;lt;field1={'1'}&amp;gt;} field2) - Sum({&amp;lt;field1={'1'}, field3={'-1'}&amp;gt;} field2))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;(Sum({&amp;lt;field1={'1'}&amp;gt;} field2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 13:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812786#M1033898</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-19T13:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set and sum, nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812787#M1033900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, so I just needed the parentheses at start, I was trying sum(sum( &lt;/P&gt;&lt;P&gt;BTW I seems like that I only need the extra parentheses in the long formula, because I substract two sum's and must capture that.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 13:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812787#M1033900</guid>
      <dc:creator />
      <dc:date>2015-01-19T13:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set and sum, nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812788#M1033902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well Malek was first but thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 13:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-sum-nested-aggregation-not-allowed/m-p/812788#M1033902</guid>
      <dc:creator />
      <dc:date>2015-01-19T13:22:02Z</dc:date>
    </item>
  </channel>
</rss>

