<?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: Write an aggr expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Write-an-aggr-expression/m-p/664619#M242011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a sample data in excel&amp;nbsp; and output expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 12:16:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-08-12T12:16:52Z</dc:date>
    <item>
      <title>Write an aggr expression</title>
      <link>https://community.qlik.com/t5/QlikView/Write-an-aggr-expression/m-p/664616#M242008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I divided the weight in classes of 2 like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=Class(emptyings_adjusted_weight),2)&lt;/SPAN&gt;&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;Actually I need the sum of the weight, how do I write that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I tried:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=Class(aggr(sum(emptyings_adjusted_weight)),2)&lt;/SPAN&gt;&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;Anyone else better ideas? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&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;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Katleen&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 11:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Write-an-aggr-expression/m-p/664616#M242008</guid>
      <dc:creator />
      <dc:date>2014-08-12T11:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Write an aggr expression</title>
      <link>https://community.qlik.com/t5/QlikView/Write-an-aggr-expression/m-p/664617#M242009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The aggr statement needs at least one dimension as the second parameter to provide the 'group by' context for the sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it should be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Class(aggr(sum(emptyings_adjusted_weight),[Widget]),2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 11:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Write-an-aggr-expression/m-p/664617#M242009</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-08-12T11:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Write an aggr expression</title>
      <link>https://community.qlik.com/t5/QlikView/Write-an-aggr-expression/m-p/664618#M242010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure about what you are searching but aggr needs the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aren't you searching something like &lt;EM&gt;=&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;Class(sum(emptyings_adjusted_weight),2) &lt;/EM&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 11:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Write-an-aggr-expression/m-p/664618#M242010</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-08-12T11:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Write an aggr expression</title>
      <link>https://community.qlik.com/t5/QlikView/Write-an-aggr-expression/m-p/664619#M242011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a sample data in excel&amp;nbsp; and output expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 12:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Write-an-aggr-expression/m-p/664619#M242011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-12T12:16:52Z</dc:date>
    </item>
  </channel>
</rss>

