<?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: Aggr and Sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524486#M1133283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But this is a Raw table. I'm not doing any aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How come QV has to calculate any aggregation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 14:16:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-19T14:16:33Z</dc:date>
    <item>
      <title>Aggr and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524482#M1133279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with these columns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SerialKey BRR_SerialNo BRR_State BRR_RetireDate BRR_City&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. if I create this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRR_SerialNo + BRR_State + BRR_RetireDate + BRR_City&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it wont work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(BRR_SerialNo + BRR_State + BRR_RetireDate + BRR_City)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works. Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If I create this calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(BRR_SerialNo + BRR_State + BRR_RetireDate + BRR_City) or BRR_SerialNo + BRR_State + BRR_RetireDate + BRR_City&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it wont work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(Sum(BRR_SerialNo + BRR_State + BRR_RetireDate + BRR_City))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works. Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 12:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524482#M1133279</guid>
      <dc:creator />
      <dc:date>2013-11-14T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524483#M1133280</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; Reason 1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When you say Expression, it should also be at aggregated level and thus the fields with multiple values will not work in Expression without any Aggregation Functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reason 2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When you want to use the Aggregated values in Dimension, it should be used only with Aggr functions.&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, 14 Nov 2013 13:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524483#M1133280</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-11-14T13:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524484#M1133281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always remember, the expressions wil be calculated by each combination of related dimmentions you have in the object. In case that you don't have dimmentions, the expressions will be calculated for every selected data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If you don't make an aggregation expression (like sum), QV doesn't know which value will be used for calculate the result. With Sum(), you are telling: take all related each one values of BRR_serialNo + BRR_State... and sum them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. What do you need to do? why do you use calculated dimmentions? You must think these kind of dimmentions like aggrupation of data, to show the expressions, not like expressions...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 13:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524484#M1133281</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2013-11-14T13:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524485#M1133282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I needed the first 3 columns to never move when I scroll right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I've done it is using the first 3 columns as calculated dimensions and the rest as expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524485#M1133282</guid>
      <dc:creator />
      <dc:date>2013-11-19T14:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524486#M1133283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But this is a Raw table. I'm not doing any aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How come QV has to calculate any aggregation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Sum/m-p/524486#M1133283</guid>
      <dc:creator />
      <dc:date>2013-11-19T14:16:33Z</dc:date>
    </item>
  </channel>
</rss>

