<?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 AGGR and SET ANALYSIS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373849#M139103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have scenario where I would like to compare the sale of a particular product with all Products of the category - I use the following expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =AGGR (NODISTINCT SUM({ &amp;lt;QUARTER_YEAR = {"&amp;gt;=$(vFiscalStart)&amp;lt;=$(vFiscalEnd)"}, [PRODUCT_CATEGORY]=, PRODUCT=&amp;gt; }&amp;nbsp; SALES), [PRODUCT_CATEGORY])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This fetches me the expected results when no Product / Product Category is selected. However, When I select a Product / Product Category, I am seeing the correct numbers only for the selected Product / Product Category. How do I ensure, that my results are not changed, when there is a selection happening in either of Product or Product Category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jun 2012 03:31:48 GMT</pubDate>
    <dc:creator>raajeshn</dc:creator>
    <dc:date>2012-06-29T03:31:48Z</dc:date>
    <item>
      <title>AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373849#M139103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have scenario where I would like to compare the sale of a particular product with all Products of the category - I use the following expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =AGGR (NODISTINCT SUM({ &amp;lt;QUARTER_YEAR = {"&amp;gt;=$(vFiscalStart)&amp;lt;=$(vFiscalEnd)"}, [PRODUCT_CATEGORY]=, PRODUCT=&amp;gt; }&amp;nbsp; SALES), [PRODUCT_CATEGORY])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This fetches me the expected results when no Product / Product Category is selected. However, When I select a Product / Product Category, I am seeing the correct numbers only for the selected Product / Product Category. How do I ensure, that my results are not changed, when there is a selection happening in either of Product or Product Category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 03:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373849#M139103</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-06-29T03:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373850#M139104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table with product category and product as dimensions.&lt;/P&gt;&lt;P&gt;Expression as: &lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13409414996385282" jivemacro_uid="_13409414996385282"&gt;&lt;P&gt;Sum({ &amp;lt;QUARTER_YEAR = {"&amp;gt;=$(vFiscalStart)&amp;lt;=$(vFiscalEnd)"}&amp;gt;} Sales)/&lt;/P&gt;&lt;P&gt;Sum(Total &amp;lt;PRODUCT_CATEGORY&amp;gt; { &amp;lt;QUARTER_YEAR = {"&amp;gt;=$(vFiscalStart)&amp;lt;=$(vFiscalEnd)"}&amp;gt;} Sales)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Rokkam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 03:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373850#M139104</guid>
      <dc:creator />
      <dc:date>2012-06-29T03:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373851#M139105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response. But, I guess - I have the same problem - I dont want the expression to listen to the selectionsb- it does here. Moreover, the numbers are not matching. Appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 03:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373851#M139105</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-06-29T03:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373852#M139106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raajesh:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need more details to debug. Can you scramble the data and share you qvw or some screenshots?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Rokkam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 03:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373852#M139106</guid>
      <dc:creator />
      <dc:date>2012-06-29T03:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373853#M139107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Kiran. But I would need some time for this - I will attach it before tomorrow. Thanks a lot for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 03:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373853#M139107</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-06-29T03:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373854#M139108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume the aggr expression is a calculated dimension. Does the chart expression also override the product/product category selections?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 06:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373854#M139108</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-06-29T06:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373855#M139109</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;=AGGR (NODISTINCT SUM({ 1&amp;lt;QUARTER_YEAR = {"&amp;gt;=$(vFiscalStart)&amp;lt;=$(vFiscalEnd)"}, [PRODUCT_CATEGORY]=, PRODUCT=&amp;gt; }&amp;nbsp; SALES), [PRODUCT_CATEGORY])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 09:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373855#M139109</guid>
      <dc:creator />
      <dc:date>2012-06-29T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373856#M139110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogananthan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already tried this, and it also produces the same result. Appreciate your support. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 17:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373856#M139110</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-06-29T17:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373857#M139111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. I dont know what made you assume that the expression is a calculated dimension - but you are right, I am actually comparing the company's products with competitor's products and hence there is a calculated expression, which will be like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(COMPANY='MY_COMPANY', PRODUCT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am not understanding your second question. What is the chart expression you are referring here. I have two expressions in my chart, one showing the actual sales of the Product - second showing the sales of the competitor products. This is my first expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({1&amp;lt;QUARTER_YEAR = {"&amp;gt;=$(vFiscalStart)&amp;lt;=$(vFiscalEnd)"}, PRODUCT=, [PRODUCT_CATEGORY]=&amp;gt;}SALES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my second expression is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AGGR (NODISTINCT SUM({ &amp;lt;QUARTER_YEAR = {"&amp;gt;=$(vFiscalStart)&amp;lt;=$(vFiscalEnd)"}, [PRODUCT_CATEGORY]=, PRODUCT=&amp;gt; }&amp;nbsp; SALES), [PRODUCT_CATEGORY])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both these expressions are working good when no product / product category is selected. However, once either of them are selected, the graph reacts accordingly - i.e, if a product is selected, the table has numbers only for the selected product and nulls in all other rows. If I am select a product category, then all the products of the category has numbers while the other rows return null values. The above issue is available only in the Second expression, while the first expression behaves as expected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure I understood your question and that is the reason for this long explanation (not sure, if I still answered you). Sorry for that. Appreciate your support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 17:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373857#M139111</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-06-29T17:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373858#M139112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, you are overriding the selections in the expressions. So now you need to suppress the rows with nulls/zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First check that the Suppress Zeros check box is ticked. If it still displays the rows, you have at least one more expression that is returning something other than zero or null (a blanks string will cause the row to display).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can force this expression to return zero if the above expressions are zero by modifying the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = If(Column(1) = 0, 0, &lt;EM&gt;third expression&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also suppress null values for the calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these suggestions don't solve the problem, I suggest you post your app or a sample illustrating the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2012 10:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373858#M139112</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-06-30T10:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373859#M139113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonthan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response and sorry - could not manage time earlier to create this mock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First - my problem is, I dont want the rows to be hidden - rather they should be seen and the chart should not listen to the filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached the mock, where I am showing data for the past 6 months (based on the max(month)). The chart shows correct numbers when nothing is selected. However, when we select either Product or Product Category - the expression listens only to this selection. For Ex, If am selecting P1 in the selected example for Company Products, it shows null value in P2's denominator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI - Actually I am showing only Company Products in the filter (th other two - Competitor Products and Other Products are are just for reference) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Kiran, sorry could not create the mock earlier. Please find it attached now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 12:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373859#M139113</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-07-03T12:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373860#M139114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan / Kiran..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to bother you guys - buty any luck on this issue...? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 22:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373860#M139114</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-07-04T22:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373861#M139115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this for a start:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;/P&gt;&lt;P&gt;&lt;EM&gt;=only({1}AGGR(NODISTINCT SUM({&amp;lt;MONTH_YEAR = {"&amp;gt;=$(vTimeStart)&amp;lt;=$(vTimeEnd)"}, PRODUCT_CATEGORY=, PRODUCT=&amp;gt; }SALEAMOUNT), PRODUCT_CATEGORY))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as denominator expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A selection in PRODUCT or PRODUCT_CAT will not change your numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;If you want to select also in your Competitor or Company Products, I think you also need to clear the COMPANY_FLAG in above set expression within the sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 22:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373861#M139115</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-04T22:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373862#M139116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton - your expression is working like a charm except that it was listening to Product Selections. However, You had the answer for this as well, as company was also getting selected when we select the Product from the Filter. Hence, I included the COMPANY= in the set expression and it is working. Once again, thanks a ton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more request - If time permits, can you help me understand this ONLY Function here.I went through the help but I guess I need little more details on how its working with this AGGR Statement. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 08:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373862#M139116</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-07-05T08:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373863#M139117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Help says about the aggr() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;By default, the aggregation function will aggregate over the set of possible records defined by the selection.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the reason why you first saw only records for your selected or possible products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the HELP section about aggr() is incorrect in describing (at least in my version) that you can use a set expression within the aggr() to define another set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;aggr (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[ &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;nodistinct&lt;/SPAN&gt; ] [{set_expression}]expression {, dimension}&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;An alternative set of records can be defined by a &lt;A _jive_internal="true" class="xref_1" href="https://community.qlik.com/message/Set_Analysis.htm"&gt;Set Analysis&lt;/A&gt; expression.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think this works as described. So I use an outer aggregation function to define the new set, which will determine the aggr() dimension values used (i.e. all). I chose only() aggregation function because I believe it's most appropriate here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 09:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373863#M139117</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-05T09:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373864#M139118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the swift response. I understand the reason now. Thanks a ton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 12:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-and-SET-ANALYSIS/m-p/373864#M139118</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-07-05T12:05:56Z</dc:date>
    </item>
  </channel>
</rss>

