<?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: Using the data model/assosisations to create aggregate table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547261#M691455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I cannot use values from other tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthlyTotalsByProduct:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MasterCalendar.Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product.Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(Customer.Id) AS TotalCustomers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(Sales.Sum) AS TotalSales&lt;/P&gt;&lt;P&gt;GROUP BY &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MasterCalendar.Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product.Name&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2013 10:18:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-20T10:18:19Z</dc:date>
    <item>
      <title>Using the data model/assosisations to create aggregate table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547259#M691453</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;We have quite complex data model and lots of data in our Qlikview report. I'd like to use the data model/assosisations and data in this Qlikview file to create simple aggregated and precalculated view (monthly totals) as a new table and then save this data as a .qvd file so I could then load that smaller dataset to another Qlikview report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible in Qlikview scripting, or is my only option basically to display the aggregated data as a chart table, export it to file and then read that file in the other Qlikview report?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547259#M691453</guid>
      <dc:creator />
      <dc:date>2013-09-20T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using the data model/assosisations to create aggregate table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547260#M691454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you can aggregate in the script using GROUP BY in your LOAD and aggregation functions, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Sales) as SummedSales&lt;/P&gt;&lt;P&gt;RESIDENT SalesTable GROUP BY Customer;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547260#M691454</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-20T10:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using the data model/assosisations to create aggregate table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547261#M691455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I cannot use values from other tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthlyTotalsByProduct:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MasterCalendar.Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product.Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(Customer.Id) AS TotalCustomers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(Sales.Sum) AS TotalSales&lt;/P&gt;&lt;P&gt;GROUP BY &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MasterCalendar.Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product.Name&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547261#M691455</guid>
      <dc:creator />
      <dc:date>2013-09-20T10:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using the data model/assosisations to create aggregate table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547262#M691456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand correctly, you want to reference fields from different tables in your aggregated table aggregation functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a table with your data to aggregate first (using e.g. CONCATENATE or JOIN), then LOAD this table with a GORUP BY clause. The associative logic works only in the frontend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547262#M691456</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-20T10:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using the data model/assosisations to create aggregate table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547263#M691457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I wanted to use the associative logic in my script, but it looks like that isn't possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-data-model-assosisations-to-create-aggregate-table/m-p/547263#M691457</guid>
      <dc:creator />
      <dc:date>2013-09-20T10:32:34Z</dc:date>
    </item>
  </channel>
</rss>

