<?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 function including set analysis with same field? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320522#M118126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correction to expression I am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Master_Calendar_MonthYear=&amp;gt;}aggr(Case_Limits,[Case_RPC],Case_Division,Master_Calendar_MonthYear))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 14:45:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-15T14:45:43Z</dc:date>
    <item>
      <title>Aggr function including set analysis with same field?</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320518#M118122</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;Is it possible when using an aggr function to include one of the fields used in it in the set analysis part?&lt;/P&gt;&lt;P&gt;My aim is to create a trending chart (by ignoring month selected) but do aggregation across this.&amp;nbsp; Currently having no luck.&lt;/P&gt;&lt;P&gt;my expression is as follows:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Master_Calendar_MonthYear=&amp;gt;}aggr(Case_Limits,Master_Calendar_MonthYear=))&lt;/P&gt;&lt;P&gt;Any thoughts would be appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 09:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320518#M118122</guid>
      <dc:creator />
      <dc:date>2011-11-15T09:23:33Z</dc:date>
    </item>
    <item>
      <title>Aggr function including set analysis with same field?</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320519#M118123</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;I am not sure what you want to do, but you can start to use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(sum({$&amp;lt;Master_Calendar_MonthYear=&amp;gt;}Case_Limits,Master_Calendar_MonthYear=))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Halmar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 13:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320519#M118123</guid>
      <dc:creator />
      <dc:date>2011-11-15T13:07:06Z</dc:date>
    </item>
    <item>
      <title>Aggr function including set analysis with same field?</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320520#M118124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; use this&lt;/P&gt;&lt;P&gt;aggr(sum({$&amp;lt;Master_Calendar_MonthYear=&amp;gt;}Case_Limits),Master_Calendar_MonthYear)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 13:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320520#M118124</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-11-15T13:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function including set analysis with same field?</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320521#M118125</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;Thanks for this.&amp;nbsp; However, in the line chart I am creating I still do not get the line (data values) spanning across the months.&amp;nbsp; &lt;/P&gt;&lt;P&gt;eg if I click on September 2011 (Master_Calendar_Month_Year) I want to see a line chart with all the Months Limits represented.&amp;nbsp; And to make it even more confusing my original expression is slightly longer than stated: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$}aggr(Case_Limits,[Case_RPC],Case_Division,Master_Calendar_MonthYear))&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;This gives me the correct figure but only for the month I am selecting.&amp;nbsp; If I could get this to neglect the calendar selection the user makes it would be perfect.&lt;/P&gt;&lt;P&gt;Thanks again for suggestion.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 14:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320521#M118125</guid>
      <dc:creator />
      <dc:date>2011-11-15T14:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function including set analysis with same field?</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320522#M118126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correction to expression I am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Master_Calendar_MonthYear=&amp;gt;}aggr(Case_Limits,[Case_RPC],Case_Division,Master_Calendar_MonthYear))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 14:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320522#M118126</guid>
      <dc:creator />
      <dc:date>2011-11-15T14:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function including set analysis with same field?</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320523#M118127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to get the solution in the end:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Master_Calendar_MonthYear=&amp;gt;} aggr( sum{$&amp;lt;Master_Calendar_MonthYear=&amp;gt;}Case_Limits), Case_RPC,Case_Division,Master_Calendar_MonthYear ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 15:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-including-set-analysis-with-same-field/m-p/320523#M118127</guid>
      <dc:creator />
      <dc:date>2011-11-15T15:13:57Z</dc:date>
    </item>
  </channel>
</rss>

