<?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 Combining AGGR and Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combining-AGGR-and-Set-Analysis/m-p/252498#M498237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Suni,&lt;/P&gt;&lt;P&gt;Thanks very much for you reply and sorry for not getting back to you sooner. following my post my appendix ruptured so have been away from work for some time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your example nealy gives me what I need, howver why does it only show one site name. even if you remove all filters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2011 13:41:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-20T13:41:22Z</dc:date>
    <item>
      <title>Combining AGGR and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-AGGR-and-Set-Analysis/m-p/252496#M498235</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;I have been struggling trying to combine AGGR function with Set Analysis and wondered if there is a simplier way to do things. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been using the following function to calculate the Average weekly totals for a particular calendar month. (this allows us to compare year on year totals when months vary in the number of weeks on each month. eg 4 or five weeks) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AVG(AGGR(Sum([In Count]), Week, Month, Year))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression works fine and gives me the data I require as in the Pivot table below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pivot.bmp" class="jive-image-thumbnail jive-image" height="103" onclick="" src="https://community.qlik.com/legacyfs/online/6299_Pivot.bmp" width="847" /&gt;&lt;/P&gt;&lt;P&gt;What I would like to do now is show the percetage increase / decrease from the previous year. Simple hey! but do you think I can get this to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think from reading the manual I am not allowed to have expressions in the AGGR function so cant do things like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(AVG(AGGR(Sum([In Count]), Week, Month, Year)) - AVG(AGGR(Sum([In Count]), Week, Month, {$&amp;lt;Year={2011}&amp;gt;})) )/ AVG(AGGR(Sum([In Count]), Week, Month, Year))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody got any idears how I can overcome this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 10:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-AGGR-and-Set-Analysis/m-p/252496#M498235</guid>
      <dc:creator />
      <dc:date>2011-08-05T10:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Combining AGGR and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-AGGR-and-Set-Analysis/m-p/252497#M498236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please see the sheet3 in attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 12:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-AGGR-and-Set-Analysis/m-p/252497#M498236</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-08-05T12:33:38Z</dc:date>
    </item>
    <item>
      <title>Combining AGGR and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-AGGR-and-Set-Analysis/m-p/252498#M498237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Suni,&lt;/P&gt;&lt;P&gt;Thanks very much for you reply and sorry for not getting back to you sooner. following my post my appendix ruptured so have been away from work for some time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your example nealy gives me what I need, howver why does it only show one site name. even if you remove all filters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 13:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-AGGR-and-Set-Analysis/m-p/252498#M498237</guid>
      <dc:creator />
      <dc:date>2011-10-20T13:41:22Z</dc:date>
    </item>
  </channel>
</rss>

