<?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: advanced aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341164#M413146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;much better, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Apr 2017 11:57:59 GMT</pubDate>
    <dc:creator>felcar2013</dc:creator>
    <dc:date>2017-04-19T11:57:59Z</dc:date>
    <item>
      <title>advanced aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341156#M413138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the table the amount of sales per invoice ID is shown (as invoice id). I Need to estimate only ONE amount of the sales per invoice Group by all dimensions, based on the following rule:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. take the Maximum target Group id and the max customer tn id. This is already included in the Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expected solution is a total of 317 €, as following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i) Variant id 5 : 282 €&lt;/P&gt;&lt;P&gt;ii) Variant id 7: 35 €&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;I cannot get the total for the invoice ids : 9672717 of 105 € and of the invoice 9672715 of 20 €.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the table.&lt;/P&gt;&lt;P&gt;Columns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i) total amount as column &lt;STRONG&gt;sales_aggr&lt;/STRONG&gt;, but wrong because the condition in (1) is not fulfilled&lt;/P&gt;&lt;P&gt;ii) &lt;STRONG&gt;column sales_2 &lt;/STRONG&gt;complies with the condition, but lacks to include the values where the # (customer tn id) &amp;gt; # (target Group id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be great,&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 09:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341156#M413138</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2017-04-19T09:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: advanced aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341157#M413139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Max(TOTAL &amp;lt;AKTIONSNUMMER, WABUCBON_ID&amp;gt; (ZG_ID+ TN_ID+GUT_ID)) = (ZG_ID+ TN_ID+GUT_ID), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Umsatz)), KAMPAGNENNUMMER,AKTIONSNUMMER,VARIANTENNUMMER,VARIANTE,ZIELGRUPPENNUMMER,ZIELGRUPPE,ZG_ID,WABUCBON_ID,TN_ID,GUT_ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341157#M413139</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-19T11:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: advanced aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341158#M413140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, thanks,&lt;/P&gt;&lt;P&gt;not checked yet, but to sum the GUT_ID to the other fields is not necessarily correct, since i have more than 600 Million of the GUT ID.&lt;/P&gt;&lt;P&gt;Is there any other way to ignore the GUT_ID and take only the sum of any of them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341158#M413140</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2017-04-19T11:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: advanced aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341159#M413141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is possible &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341159#M413141</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-19T11:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: advanced aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341160#M413142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, the only Problem is, i don't know, how the data will come in the future&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341160#M413142</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2017-04-19T11:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: advanced aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341161#M413143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well you need to have some consistency in the data and you need to know what exactly you need to put out there.... Do you not care which GUI_ID displays the 105? out of the three under 1765901050 or do you want it to be shown against the max GUI_ID (252407612)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341161#M413143</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-19T11:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: advanced aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341162#M413144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;important is only that i get the max ZG_ID + TN_ID. The GUT_ID value is not important. the number is Long, but it also could include strings, etc. Important is only that I Count the amount one, as well as other kpis, like customers, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341162#M413144</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2017-04-19T11:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: advanced aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341163#M413145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check this out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Aggr(Max(TOTAL &amp;lt;AKTIONSNUMMER, WABUCBON_ID&amp;gt; (ZG_ID+ TN_ID)), KAMPAGNENNUMMER,AKTIONSNUMMER,VARIANTENNUMMER,VARIANTE,ZIELGRUPPENNUMMER,ZIELGRUPPE,ZG_ID,WABUCBON_ID,TN_ID) = (ZG_ID+ TN_ID), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Umsatz)), KAMPAGNENNUMMER,AKTIONSNUMMER,VARIANTENNUMMER,VARIANTE,ZIELGRUPPENNUMMER,ZIELGRUPPE,ZG_ID,WABUCBON_ID,TN_ID,GUT_ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341163#M413145</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-19T11:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: advanced aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341164#M413146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;much better, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/advanced-aggregation/m-p/1341164#M413146</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2017-04-19T11:57:59Z</dc:date>
    </item>
  </channel>
</rss>

