<?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 across multiple tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-across-multiple-tables/m-p/466987#M174467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables in my data model. One that contains dates and transactional data keys, and one that contains the transactional data. The reason for this is a single transaction can appear against multiple dates, and I don't want to store the transactional data (approx. 100 fields) multiple times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I'm having is when I sum an amount field from this transactional data over a trend it's working fine. For example a single transaction with an amount of £500, that is recorded against three separate dates is correctly displaying that £500 three times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I take away the date from the chart, the aggregation only displays a total of £500. Now, this would generally be correct, however, the customer wants to see a total of £1500 in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know a way to achieve this using advanced aggregation? I've wracked my brains, and I've come up with nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 09:59:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-04-18T09:59:54Z</dc:date>
    <item>
      <title>Sum across multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-across-multiple-tables/m-p/466987#M174467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables in my data model. One that contains dates and transactional data keys, and one that contains the transactional data. The reason for this is a single transaction can appear against multiple dates, and I don't want to store the transactional data (approx. 100 fields) multiple times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I'm having is when I sum an amount field from this transactional data over a trend it's working fine. For example a single transaction with an amount of £500, that is recorded against three separate dates is correctly displaying that £500 three times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I take away the date from the chart, the aggregation only displays a total of £500. Now, this would generally be correct, however, the customer wants to see a total of £1500 in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know a way to achieve this using advanced aggregation? I've wracked my brains, and I've come up with nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 09:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-across-multiple-tables/m-p/466987#M174467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-18T09:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sum across multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-across-multiple-tables/m-p/466988#M174468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The only way i feel is you get the Date field in your transactional table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load Date, TransactionalKey from A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; left join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load TransactionalKey,.....From B; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-across-multiple-tables/m-p/466988#M174468</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-18T13:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sum across multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-across-multiple-tables/m-p/466989#M174469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sadly that would result in the transactional data being duplicated in the table, so it's not an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A single transaction with 100+ fields cannot be repeated, potentially, 14 times (once for each reporting month) because of the memory implications.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-across-multiple-tables/m-p/466989#M174469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-18T13:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sum across multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-across-multiple-tables/m-p/466990#M174470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Even though it will duplicate the records, qlikview stores only distinct values in memory, so it shouldnt increase the memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Still will do some testing and get back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 16:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-across-multiple-tables/m-p/466990#M174470</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-18T16:25:36Z</dc:date>
    </item>
  </channel>
</rss>

