<?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: Data Island Exclusion set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42118#M458129</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;&lt;STRONG&gt;=Aggr(If(GetSelectedCount([NOT Transaction Store Code]) = 0, [Customer Code], Only({&amp;lt;Flag = {1}&amp;gt;-&amp;lt;[Transaction Store Code] = p([NOT Transaction Store Code])&amp;gt;} [Customer Code])), [Customer Code])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2018 14:05:08 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-16T14:05:08Z</dc:date>
    <item>
      <title>Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42107#M458118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a customers table, with [Customer Code] being the linking field, and a transactions table which among others includes [Transaction Store Code] and [Customer Code].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have made a data island which includes the field [NOT Transaction Store Code]. The point is to have a table with the customer list such that when some [NOT Transaction Store Code]s are selected, the [Customer Code]s which have some transactions on these stores are excluded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have thus created the following calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(only({&amp;lt;[Transaction Store Code]-=[NOT Transaction Store Code]&amp;gt;} [Customer Code]),[Customer Code])&lt;/P&gt;&lt;P&gt;and set it to not show nulls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thing indeed does what I want. Unfortunately, it also hides [Cutomer Code]s which have no transactions at all. Is there any way to get around this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 12:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42107#M458118</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-05-16T12:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42108#M458119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean those rows where Transaction Store Code is null?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 12:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42108#M458119</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-16T12:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42109#M458120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not very sure how to answer this. There are no rows in the transactions table where [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Transaction Store Code] is null; BUT, there are rows in the customer table for which there are no transactions with such a [Customer Code]. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 12:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42109#M458120</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-05-16T12:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42110#M458121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That makes sense, so essentially the data is missing for certain Customer Code. Not sure if this will work or not, but can you try this&lt;/P&gt;&lt;P&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;Aggr(Only({&amp;lt;[Transaction Store Code] = e([NOT Transaction Store Code])&amp;gt;} [Customer Code]), [Customer Code])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 12:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42110#M458121</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-16T12:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42111#M458122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't work, same problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 12:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42111#M458122</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-05-16T12:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42112#M458123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to try out few things?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42112#M458123</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-16T13:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42113#M458124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a simple warehouse with sample data for this purpose. After I test a few alternatives I'll post it here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42113#M458124</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-05-16T13:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42114#M458125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42114#M458125</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-16T13:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42115#M458126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the specs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When no [NOT Transaction Store Code]s are selected, the target calculated dimension should return all [Customer Code]s: C1,C2,C3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When [NOT Transaction Store Code] has S1 selected, this leads to [TranID]s T1,T2,T3, which in turn lead to [Customer Code]s C1,C2. These must be excluded, so I should only get C3. This case is also identical to selecting both S1,S2 as the [Customer Code]s implied are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When [NOT Transaction Store Code] has S2 selected, this leads to [TranID] T4, which in turn leads to [Customer Code] C2. This must be excluded, so I should only get C1,C3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...and here is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;customers:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load * inline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Customer Code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;C1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;C2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;C3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;transactions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load * inline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;TranID,Transaction Store Code,Customer Code,Price&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;T1,S1,C1,50&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;T2,S1,C1,40&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;T3,S1,C2,30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;T4,S2,C2,60&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;negateStore:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load * inline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;NOT Transaction Store Code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;S1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;S2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42115#M458126</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-05-16T13:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42116#M458127</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;&lt;STRONG&gt;=Aggr(Only({&amp;lt;[Transaction Store Code] = e([NOT Transaction Store Code])&amp;gt;/&amp;lt;Flag = {1}&amp;gt;} [Customer Code]), [Customer Code])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Flag is created in the customer table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;customers:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD [Customer Code],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; &lt;SPAN style="color: #ff0000;"&gt;1 as Flag;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;transactions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TranID, Transaction Store Code, Customer Code, Price&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; T1, S1, C1, 50&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; T2, S1, C1, 40&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; T3, S1, C2, 30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; T4, S2, C2, 60&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;negateStore:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOT Transaction Store Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; S1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; S2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42116#M458127</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-16T13:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42117#M458128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although it seems to work for most cases, it doesn't work for selecting both S1 and S2: instead of C3 it filters nothing and shows C1,C2,C3. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42117#M458128</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-05-16T13:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42118#M458129</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;&lt;STRONG&gt;=Aggr(If(GetSelectedCount([NOT Transaction Store Code]) = 0, [Customer Code], Only({&amp;lt;Flag = {1}&amp;gt;-&amp;lt;[Transaction Store Code] = p([NOT Transaction Store Code])&amp;gt;} [Customer Code])), [Customer Code])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 14:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42118#M458129</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-16T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42119#M458130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, this works! Thank you very much!&lt;/P&gt;&lt;P&gt;Could you please elaborate how it works? Some questions I can produce are the following:&lt;/P&gt;&lt;P&gt;1) Why is the Flag=1 modifier needed? I actually notice that I can change this to $ or 1 with the same results.&lt;/P&gt;&lt;P&gt;2) Why is the p needed, whereas the following doesn't work: [Transaction Store Code] -= [NOT Transaction Store Code]&lt;/P&gt;&lt;P&gt;3) Why is the if getselectedcount needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I can get some deeper understanding of this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 14:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42119#M458130</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-05-16T14:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42120#M458131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Having thought about it a little more, you don't really need Flag... you can use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(GetSelectedCount([NOT Transaction Store Code]) = 0, [Customer Code], Only({&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;[Customer Code] = {"*"}&lt;/SPAN&gt;&amp;gt;-&amp;lt;[Transaction Store Code] = p([NOT Transaction Store Code])&amp;gt;} [Customer Code])), [Customer Code])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) p() is giving possible value and we are using - to remove that from the set of all Customer Codes... see the negative sign in red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(GetSelectedCount([NOT Transaction Store Code]) = 0, [Customer Code], Only({&amp;lt;[Customer Code] = {"*"}&amp;gt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;-&lt;/SPAN&gt;&amp;lt;[Transaction Store Code] = p([NOT Transaction Store Code])&amp;gt;} [Customer Code])), [Customer Code])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) We need the GetSelectedCount() because when nothing is selected, all values are possible within &lt;STRONG&gt;[NOT Transaction Store Code]&lt;/STRONG&gt; which is equivalent of selecting both S1 and S2. In order to differentiate between when both are selected vs when nothing is selected... we use an if statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When no &lt;STRONG&gt;[NOT Transaction Store Code]&lt;/STRONG&gt; is selected, just use the simple Customer Code as dimension... else use &lt;STRONG&gt;Only({&amp;lt;[Customer Code] = {"*"}&amp;gt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;-&lt;/SPAN&gt;&amp;lt;[Transaction Store Code] = p([NOT Transaction Store Code])&amp;gt;} [Customer Code])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 14:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42120#M458131</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-16T14:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island Exclusion set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42121#M458132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice, thank you again for your insight!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, for future reference, it seems I can get rid of the if, if I don't use p():&lt;/P&gt;&lt;P&gt;=Aggr(&lt;/P&gt;&lt;P&gt;Only({$-&amp;lt;[Transaction Store Code] = [NOT Transaction Store Code]&amp;gt;} [Customer Code])&lt;/P&gt;&lt;P&gt;, [Customer Code]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This makes it also easier for me to add more exclusions if needed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 14:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-Exclusion-set-analysis/m-p/42121#M458132</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-05-16T14:32:17Z</dc:date>
    </item>
  </channel>
</rss>

