<?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 in Set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428794#M430002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you fully understand the role of AGGR and the role of Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please describe the analytical problem that you are trying to solve, in non-technical terms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="https://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt; - coming to Boston, MA this October!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Sep 2017 18:22:23 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2017-09-02T18:22:23Z</dc:date>
    <item>
      <title>Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428793#M430001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to exclude some fields using set analysis with aggregation function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below sample expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(sum({$&amp;lt;A={'3'},B={'AP'}&amp;gt;}Total),dim))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to apply Aggr function only for B instead of both (A,B). Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Sep 2017 18:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428793#M430001</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-09-02T18:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428794#M430002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you fully understand the role of AGGR and the role of Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please describe the analytical problem that you are trying to solve, in non-technical terms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="https://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt; - coming to Boston, MA this October!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Sep 2017 18:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428794#M430002</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-09-02T18:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428795#M430003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see below thread..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/214906" title="https://community.qlikview.com/thread/214906"&gt;https://community.qlikview.com/thread/214906&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want like this, but I am not getting this expression completely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Sep 2017 18:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428795#M430003</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-09-02T18:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428796#M430004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;I want to apply Aggr function only for B instead of both (A,B). Is it possible?&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What does this statement means? Can you elaborate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Sep 2017 19:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428796#M430004</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-02T19:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428797#M430005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just want to know that If we have two expression(separated by comma) in&lt;/P&gt;&lt;P&gt;single set analysis and If I want to apply aggr function only for one&lt;/P&gt;&lt;P&gt;expression, then Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Sun, Sep 3, 2017 at 12:34 AM, Sunny Talwar &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Sep 2017 06:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428797#M430005</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-09-03T06:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428798#M430006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vipin,&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; font-size: 13px;"&gt;Please use the below expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({$&amp;lt;A={'3'}&amp;gt;}Total)+&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(Aggr(sum({$&amp;lt;B={'AP'}&amp;gt;}Total),dim))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Many Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Karthik&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Sep 2017 08:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428798#M430006</guid>
      <dc:creator>karthikoffi27se</dc:creator>
      <dc:date>2017-09-03T08:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428799#M430007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your response just don't make any sense... can you elaborate with an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Sep 2017 17:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428799#M430007</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-03T17:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428800#M430008</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 refraining my question in different way again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))'}&amp;gt;}Total)*(&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))'}&amp;gt;}Cost)/sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))'}&amp;gt;}Total))-&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var3))'}&amp;gt;}Cost)/sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var3))'}&amp;gt;}Total)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression is working fine. but If I use this expression with AGGR as&lt;/P&gt;&lt;P&gt;below, it is not giving me right data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))'}&amp;gt;}Total)*(&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))'}&amp;gt;}Cost)/sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))'}&amp;gt;}Total))-&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var3))'}&amp;gt;}Cost)/sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var3))'}&amp;gt;}Total))),dim))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please confirm if this syntax is fine&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Sun, Sep 3, 2017 at 10:58 PM, Sunny Talwar &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 17:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428800#M430008</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-09-04T17:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428801#M430009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if expression is working fine then why you are using Aggr?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 17:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428801#M430009</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-04T17:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428802#M430010</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;1) Create a variable "vDIM" and put this exprecion: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(A) &amp;gt; 0, 'A') &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(A) &amp;gt; 0 and GetSelectedCount(B) &amp;gt; 0, ',') &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(B) &amp;gt; 0, 'B')&lt;/P&gt;&lt;P&gt;2) Put vDim variable into your expression &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(Aggr(sum({$&amp;lt;A={'3'},B={'AP'}&amp;gt;}Total), $(vDIM)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 17:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428802#M430010</guid>
      <dc:creator>MarcoARaymundo</dc:creator>
      <dc:date>2017-09-04T17:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428803#M430011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you are after, but may be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;SPAN style="color: #ff0000;"&gt;{$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))', &lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;'$(=$(Var3))'&lt;/STRONG&gt;}&amp;gt;}&lt;/SPAN&gt;Aggr(sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))'}&amp;gt;}Total)*(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))'}&amp;gt;}Cost)/sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var2))'}&amp;gt;}Total))-&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var3))'}&amp;gt;}Cost)/sum({$&amp;lt;A={'&amp;lt;=$(=$(Var1))'},Year={'$(=$(Var3))'}&amp;gt;}Total))),dim))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 19:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428803#M430011</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-04T19:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428804#M430012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Sunny. I was stuck in the same since long. You made my day. Thank you very much for your help.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 04:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428804#M430012</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-09-05T04:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428805#M430013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny..One thing, I&amp;nbsp; just want to know that what is the difference between both expression. Should we always use the expression (Which you told) in AGGR with set analysis or Is there any other logic behind it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 04:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428805#M430013</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-09-05T04:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428806#M430014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well the outer aggregation should include the same set analysis that is needed for the inner one else the row wise number might match, but the total from the outer aggregation may filter out things....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 08:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428806#M430014</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-05T08:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428807#M430015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for clarification sunny..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 09:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Set-analysis/m-p/1428807#M430015</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-09-05T09:22:33Z</dc:date>
    </item>
  </channel>
</rss>

