<?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 while loading table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778163#M275836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD SHOPID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; KostenartID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(ValueIst) as ValueIst,&lt;/P&gt;&lt;P&gt;sum( ValueForecast) as ValueForecast,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;maxstring(&lt;/SPAN&gt; ValuePlan2015) as ValuePlan2015&lt;/P&gt;&lt;P&gt;FROM Table1&lt;/P&gt;&lt;P&gt;group by&lt;/P&gt;&lt;P&gt;SHOPID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; KostenartID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Key&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 11:57:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-19T11:57:50Z</dc:date>
    <item>
      <title>Aggregation while loading table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778160#M275833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD SHOPID, &lt;/P&gt;&lt;P&gt;&amp;nbsp; KostenartID, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Key, &lt;/P&gt;&lt;P&gt;&amp;nbsp; ValueIst, &lt;/P&gt;&lt;P&gt;&amp;nbsp; ValueForecast, &lt;/P&gt;&lt;P&gt;&amp;nbsp; ValuePlan2015&lt;/P&gt;&lt;P&gt;FROM Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the result will be a table with too many rows, because the values (last 3 columns) are located in different rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71642_table.jpg" style="width: 620px; height: 70px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first 4 colums have the same keys. Now I do not want to load 3 rows but 1 row, because the keys are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I change the scriot to get a table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table2.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71644_table2.jpg" style="width: 620px; height: 30px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; BR&lt;/P&gt;&lt;P&gt;Thomas &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 11:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778160#M275833</guid>
      <dc:creator />
      <dc:date>2014-11-19T11:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation while loading table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778161#M275834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas&lt;/P&gt;&lt;P&gt;use them in expression not in dimension.&lt;/P&gt;&lt;P&gt;and use the avg or sum formula, as it suits you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;harshita Gaur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 11:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778161#M275834</guid>
      <dc:creator />
      <dc:date>2014-11-19T11:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation while loading table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778162#M275835</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;Assuming that the 'other' row's values are always 0 or null, then you could do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD SHOPID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; KostenartID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Date,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Key,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Sum(ValueIst) As &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ValueIst&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Sum(ValueForecast) As &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ValueForecast&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Sum(ValuePlan2015) As &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ValuePlan2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM Table1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group By &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SHOPID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; KostenartID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Date,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Key;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HTH&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 11:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778162#M275835</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-11-19T11:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation while loading table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778163#M275836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD SHOPID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; KostenartID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(ValueIst) as ValueIst,&lt;/P&gt;&lt;P&gt;sum( ValueForecast) as ValueForecast,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;maxstring(&lt;/SPAN&gt; ValuePlan2015) as ValuePlan2015&lt;/P&gt;&lt;P&gt;FROM Table1&lt;/P&gt;&lt;P&gt;group by&lt;/P&gt;&lt;P&gt;SHOPID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; KostenartID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Key&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 11:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778163#M275836</guid>
      <dc:creator />
      <dc:date>2014-11-19T11:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation while loading table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778164#M275837</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;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Use sum(valueforecast) and other 2 in expression. But suppressing at script level is best.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Navdeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 11:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-while-loading-table/m-p/778164#M275837</guid>
      <dc:creator />
      <dc:date>2014-11-19T11:58:41Z</dc:date>
    </item>
  </channel>
</rss>

