<?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: Nestet aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nestet-aggregation/m-p/1879090#M1216784</link>
    <description>&lt;P&gt;I don't think you need the outside sum().&amp;nbsp; Just&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=sum({&amp;lt;[tPurchaseVoucherLine.purchaseVoucherType]={2500},[tPurchaseVoucher.purchaseVoucherState]={0}&amp;gt;}[tPurchaseVoucherLine.quantity])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-sum({&amp;lt;[tPurchaseVoucherLine.purchaseVoucherType]={2020},[tPurchaseVoucher.purchaseVoucherState]={0}&amp;gt;}[tPurchaseVoucherLine.quantity])&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jan 2022 16:32:09 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2022-01-10T16:32:09Z</dc:date>
    <item>
      <title>Nestet aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Nestet-aggregation/m-p/1879057#M1216783</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Übersetzung"&gt;&lt;SPAN class="Y2IQFc"&gt;I can't get this formula out without warning me of an error. How about the correct spelling.&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;=sum(sum({&amp;lt;[tPurchaseVoucherLine.purchaseVoucherType]={2500},[tPurchaseVoucher.purchaseVoucherState]={0}&amp;gt;}[tPurchaseVoucherLine.quantity])&lt;BR /&gt;-sum({&amp;lt;[tPurchaseVoucherLine.purchaseVoucherType]={2020},[tPurchaseVoucher.purchaseVoucherState]={0}&amp;gt;}[tPurchaseVoucherLine.quantity]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 15:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nestet-aggregation/m-p/1879057#M1216783</guid>
      <dc:creator>m_dorz</dc:creator>
      <dc:date>2022-01-10T15:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Nestet aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Nestet-aggregation/m-p/1879090#M1216784</link>
      <description>&lt;P&gt;I don't think you need the outside sum().&amp;nbsp; Just&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=sum({&amp;lt;[tPurchaseVoucherLine.purchaseVoucherType]={2500},[tPurchaseVoucher.purchaseVoucherState]={0}&amp;gt;}[tPurchaseVoucherLine.quantity])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-sum({&amp;lt;[tPurchaseVoucherLine.purchaseVoucherType]={2020},[tPurchaseVoucher.purchaseVoucherState]={0}&amp;gt;}[tPurchaseVoucherLine.quantity])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 16:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nestet-aggregation/m-p/1879090#M1216784</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2022-01-10T16:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nestet aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Nestet-aggregation/m-p/1879368#M1216789</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Übersetzung"&gt;&lt;SPAN class="Y2IQFc"&gt;Thanks for the info, of course I've already done this variant. The problem should not lie with the formula, but with the fact that there is no line where the result can be entered.
There are the lines where the respective condition is fulfilled, then the correct amount according to the formula is entered, but there is no line where this result can be entered. So I would have to insert a new line in which the result of this calculation can then be entered.&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jan 2022 09:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nestet-aggregation/m-p/1879368#M1216789</guid>
      <dc:creator>m_dorz</dc:creator>
      <dc:date>2022-01-11T09:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Nestet aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Nestet-aggregation/m-p/1883993#M1216983</link>
      <description>&lt;P&gt;i´ll try to explain my problem once again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the first step is shown in the following excel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_dorz_0-1642783077747.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/70738iD27FF902B4E9782A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m_dorz_0-1642783077747.png" alt="m_dorz_0-1642783077747.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;if the numbers in the "to" column match the numbers of the "from" column i want to sum up the Numbers in the "wert" column of the Lines of the matching numbers (36 +6)&lt;/P&gt;
&lt;P&gt;now i want to substract the&amp;nbsp; sum above from the value in "wert" of the first matched "to" value&amp;nbsp; (50-(36+6))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i hope you can understand it better now&lt;/P&gt;
&lt;P&gt;thanks for your replies&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 17:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nestet-aggregation/m-p/1883993#M1216983</guid>
      <dc:creator>m_dorz</dc:creator>
      <dc:date>2022-01-21T17:02:29Z</dc:date>
    </item>
  </channel>
</rss>

