<?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 Ignore selection on set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278167#M103605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan&lt;/P&gt;&lt;P&gt;Thanks for replying..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I tried that apporach.. but that didn't work. It did not ignroe the CMU2_NM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the temp table created using AGGR function should be for all CMU2_NM irrespective of whether CMU2_NM was selected or not... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried with below... but that also does not ignore CMU2_NM selection..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;CMU2_NM=&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (count({&amp;lt;ConfFlag={1}&amp;gt;} distinct EVENT_ID)/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;ConfFlag={1},CMU2_NM=&amp;gt;} total &amp;lt;CalendarMonthName&amp;gt; distinct EVENT_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )*ACI_1_1_1_WEIGHT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CMU2_NM)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I dont select any CMU2_NM, then above expression correctly returns .1242 which is the sum for all CMU2_NM.. I want to achieve the same result, only by ignoring CMU2_NM if it is selected!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Dec 2011 18:55:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-04T18:55:05Z</dc:date>
    <item>
      <title>Ignore selection on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278165#M103603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am preparing a combo chart (stacked bars and a line) that is targeted towards a single selected client.. client field name is - CMU2_NM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart has only a single dimension as - CalendarMonthName. For selected client (CMU2_NM), the chart shows other values. And additionally I would like to add an average line. So am first trying to calculate sum() for all CMU2_NM and then will divide by # of CMU2_NM... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Added below expression to the chart, but it does not "ignore" selected CMU2_NM and returns value based on client selection...How do I fix this expression so that it will return sum for all relative consumptions for all the clients... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (count({&amp;lt;ConfFlag={1}&amp;gt;} distinct EVENT_ID)/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;ConfFlag={1},CMU2_NM=&amp;gt;} total &amp;lt;CalendarMonthName&amp;gt; distinct EVENT_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )*ACI_1_1_1_WEIGHT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CMU2_NM)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to attached image where I am trying to provide more details.. Once this issue is resolved for ACI 1.1.1, then I can apply similar logic to other 25 such ACIs!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help.. thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2011 18:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278165#M103603</guid>
      <dc:creator />
      <dc:date>2011-12-04T18:11:04Z</dc:date>
    </item>
    <item>
      <title>Ignore selection on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278166#M103604</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;you already cleared the client selection in your denominator using &lt;/P&gt;&lt;P&gt;{&amp;lt;ConfFlag={1}&lt;STRONG&gt;,CMU2_NM=&lt;/STRONG&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably just need to use this same set expression also in the Numerator, in total maybe like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (count({&amp;lt;ConfFlag={1}, &lt;STRONG&gt;CMU2_NM= &amp;gt;&lt;/STRONG&gt;} distinct EVENT_ID)/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;ConfFlag={1},CMU2_NM=&amp;gt;} total &amp;lt;CalendarMonthName&amp;gt; distinct EVENT_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )*ACI_1_1_1_WEIGHT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CMU2_NM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2011 18:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278166#M103604</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-04T18:48:54Z</dc:date>
    </item>
    <item>
      <title>Ignore selection on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278167#M103605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan&lt;/P&gt;&lt;P&gt;Thanks for replying..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I tried that apporach.. but that didn't work. It did not ignroe the CMU2_NM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the temp table created using AGGR function should be for all CMU2_NM irrespective of whether CMU2_NM was selected or not... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried with below... but that also does not ignore CMU2_NM selection..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;CMU2_NM=&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (count({&amp;lt;ConfFlag={1}&amp;gt;} distinct EVENT_ID)/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;ConfFlag={1},CMU2_NM=&amp;gt;} total &amp;lt;CalendarMonthName&amp;gt; distinct EVENT_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )*ACI_1_1_1_WEIGHT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CMU2_NM)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I dont select any CMU2_NM, then above expression correctly returns .1242 which is the sum for all CMU2_NM.. I want to achieve the same result, only by ignoring CMU2_NM if it is selected!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2011 18:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278167#M103605</guid>
      <dc:creator />
      <dc:date>2011-12-04T18:55:05Z</dc:date>
    </item>
    <item>
      <title>Ignore selection on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278168#M103606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default, the aggregation function will aggregate over the set of possible records defined by the selection. So we might state the set also for the aggr() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr( &lt;STRONG&gt;{&amp;lt;CMU2_NM= &amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (count({&amp;lt;ConfFlag={1}&amp;gt;} distinct EVENT_ID)/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;ConfFlag={1},CMU2_NM=&amp;gt;} total &amp;lt;CalendarMonthName&amp;gt; distinct EVENT_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )*ACI_1_1_1_WEIGHT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CMU2_NM)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2011 20:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278168#M103606</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-04T20:08:00Z</dc:date>
    </item>
    <item>
      <title>Ignore selection on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278169#M103607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephan, thanks for providing the direction... I was able to resolve the issue with below expression -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;CMU2_NM=&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;ConfFlag={1},CMU2_NM=&amp;gt;} distinct EVENT_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;ConfFlag={1},CMU2_NM=&amp;gt;} total &amp;lt;CalendarMonthName&amp;gt; distinct EVENT_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *SUM(total distinct ACI_1_1_1_WEIGHT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CMU2_NM,CalendarMonthName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2011 20:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selection-on-set-analysis/m-p/278169#M103607</guid>
      <dc:creator />
      <dc:date>2011-12-04T20:23:48Z</dc:date>
    </item>
  </channel>
</rss>

