<?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: Aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007142#M341990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rather than joining the two, keep them as separate tables and let QV handle the association. If you don't want a synthetic key, you can create your own composite key like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load Device,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Hour,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Autonumber(Device &amp;amp; '-' &amp;amp; Date &amp;amp; '-' Hour, 'aggkey') As Key,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Amount,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; xxxx,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; xxxx,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; yyyy,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; yyyy,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from xxxx.qvd;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Aggregated:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Autonumber(Device &amp;amp; '-' &amp;amp; Date &amp;amp; '-' Hour, 'aggkey') As Key,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Sum(Amount) as TotalAmount&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Table&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Group By Device, Date, Hour;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2015 12:03:43 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-08-27T12:03:43Z</dc:date>
    <item>
      <title>Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007134#M341982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;can any one help me on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a fact table with 26 column , in that I want the Amount data group by "Device", "Hour", "Date" how can I make an aggregated qvd with that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know we can use like the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Device,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Hour,&lt;/P&gt;&lt;P&gt;Sum(Amount),&lt;/P&gt;&lt;P&gt;xxxx,&lt;/P&gt;&lt;P&gt;xxxx,&lt;/P&gt;&lt;P&gt;yyyy,&lt;/P&gt;&lt;P&gt;yyyy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from xxxx.qvd&lt;/P&gt;&lt;P&gt;[xxxxxx] group by&lt;/P&gt;&lt;P&gt;Device,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Hour&lt;/P&gt;&lt;P&gt;xxxxxxx&lt;/P&gt;&lt;P&gt;xxxxx,&lt;/P&gt;&lt;P&gt;yyyy,&lt;/P&gt;&lt;P&gt;yyyy;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want the data aggregated by Device,Date,Hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007134#M341982</guid>
      <dc:creator />
      <dc:date>2015-08-27T11:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007135#M341983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be do a left join into the fact table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Device,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Hour,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Amount,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;xxxx,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;xxxx,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;yyyy,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;yyyy,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;from xxxx.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD &lt;SPAN style="line-height: 1.5em;"&gt;Device,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Hour,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum(Amount) as TotalAmount&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Group By Device, Date, Hour;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007135#M341983</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-27T11:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007136#M341984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny I will give a try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have fact table size as&amp;nbsp; Approx. 3GB [35 Million Records ] , if we load the table two times will it not impact on Loading time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007136#M341984</guid>
      <dc:creator />
      <dc:date>2015-08-27T11:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007137#M341985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sure it will, but left join or Mapping Load are the only two ways I can think of doing what you are looking to do and both ways will require you to load the table twice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007137#M341985</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-27T11:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007138#M341986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes sunny, I am trying to optimize my application so I can't do that. Please let me know if any use full methods or links are there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007138#M341986</guid>
      <dc:creator />
      <dc:date>2015-08-27T11:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007139#M341987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like I said, I don't happen to know another way to do this, so can't really share much, but for join and mapping load you can check this out:&lt;A href="https://community.qlik.com/qlik-blogpost/2756"&gt;Don't join - use Applymap instead&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007139#M341987</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-27T11:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007140#M341988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007140#M341988</guid>
      <dc:creator />
      <dc:date>2015-08-27T11:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007141#M341989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your very welcome, I hope somebody comes up with a better solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007141#M341989</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-27T11:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007142#M341990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rather than joining the two, keep them as separate tables and let QV handle the association. If you don't want a synthetic key, you can create your own composite key like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load Device,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Hour,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Autonumber(Device &amp;amp; '-' &amp;amp; Date &amp;amp; '-' Hour, 'aggkey') As Key,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Amount,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; xxxx,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; xxxx,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; yyyy,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; yyyy,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from xxxx.qvd;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Aggregated:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Autonumber(Device &amp;amp; '-' &amp;amp; Date &amp;amp; '-' Hour, 'aggkey') As Key,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Sum(Amount) as TotalAmount&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Table&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Group By Device, Date, Hour;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 12:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation/m-p/1007142#M341990</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-27T12:03:43Z</dc:date>
    </item>
  </channel>
</rss>

