<?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 Excluding data in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253690#M1194280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Ohh sorry!!&lt;/P&gt;&lt;P&gt;I was about to write this only:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;SME_Person= E({1&amp;lt;LinkContact={'*'}&amp;gt;}) &amp;gt;} CON_CUSTOMER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be in hurry I wrote &lt;/P&gt;&lt;P&gt;count( {$&amp;lt;CON_CUSTOMER= E({1&amp;lt;LinkContact={'*'}&amp;gt;}) &amp;gt;} CON_CUSTOMER)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2011 11:02:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-01T11:02:36Z</dc:date>
    <item>
      <title>Excluding data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253684#M1194274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;I need to count the Customers (CON_CUSTOMER) where there are no matches for&lt;SPAN style="font-size: 10pt; color: #800000;"&gt; &lt;SPAN style="color: #800000;"&gt;SME_Person &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;and &lt;/SPAN&gt;LinkContact.&amp;nbsp; I have written the following set analysis but Qlikview is picking up both matches and non-matches&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;count({$&amp;lt;CON_CUSTOMER = E({1&amp;lt;SME_Person = {LinkContact}&amp;gt;})&amp;gt;}CON_CUSTOMER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone shed any light on where I'm going wrong?&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 12:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253684#M1194274</guid>
      <dc:creator />
      <dc:date>2011-05-31T12:16:13Z</dc:date>
    </item>
    <item>
      <title>Excluding data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253685#M1194275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I think U r missing the Quotes..&lt;/P&gt;&lt;P&gt;Try Thsi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;count({$&amp;lt;CON_CUSTOMER = E({1&amp;lt;SME_Person = {'LinkContact'}&amp;gt;})&amp;gt;}CON_CUSTOMER)&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;or else try this:&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;CODE class="jive-code"&gt;count({&amp;lt;SME_Person ={'*'} - {'LinkContact'}&amp;gt;}CON_CUSTOMER)&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 03:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253685#M1194275</guid>
      <dc:creator />
      <dc:date>2011-06-01T03:46:50Z</dc:date>
    </item>
    <item>
      <title>Excluding data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253686#M1194276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Erika but LinkContact is a field.&amp;nbsp; I tried amending your second example by taking out the quotes but that doesn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkContact is a field in a different QVD to SME_Person joined by a key field. I want to find all the SME_Person that do not have a matching LinkContact&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 10:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253686#M1194276</guid>
      <dc:creator />
      <dc:date>2011-06-01T10:08:47Z</dc:date>
    </item>
    <item>
      <title>Excluding data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253687#M1194277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; oh sorry !!&lt;/P&gt;&lt;P&gt;I thought &lt;/P&gt;&lt;P&gt;Link Contact is a Value and not field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;CODE class="jive-code"&gt;count&lt;/CODE&gt;(&lt;/SPAN&gt; {$&amp;lt;CON_CUSTOMER= E({1&amp;lt;LinkContact={‘*'}&amp;gt;})&amp;gt;} CON_CUSTOMER&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;There&amp;nbsp; may be some syntx errors.Plz correct them.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 10:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253687#M1194277</guid>
      <dc:creator />
      <dc:date>2011-06-01T10:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253688#M1194278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the following data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Persons: &lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Code, SME_Person&lt;/P&gt;&lt;P&gt;1, John&lt;/P&gt;&lt;P&gt;2, Michael&lt;/P&gt;&lt;P&gt;3, Peter&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkContacts:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Code, LinkContact&lt;/P&gt;&lt;P&gt;1, JohnsLink&lt;/P&gt;&lt;P&gt;3, PetersLink&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And creating a pivot table with "Code" as Dimension and the following as expression should return as expected (1 count for code 2 who doesn't have a link contact)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Count({1 - &amp;lt; LinkContact = P(LinkContact) &amp;gt;} SME_Person)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 10:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253688#M1194278</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-01T10:26:58Z</dc:date>
    </item>
    <item>
      <title>Excluding data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253689#M1194279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Erika - I just changed CON_CUSTOMER to SME_Person and it worked perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;SME_Person= E({1&amp;lt;LinkContact={'*'}&amp;gt;}) &amp;gt;} CON_CUSTOMER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 10:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253689#M1194279</guid>
      <dc:creator />
      <dc:date>2011-06-01T10:42:28Z</dc:date>
    </item>
    <item>
      <title>Excluding data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253690#M1194280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Ohh sorry!!&lt;/P&gt;&lt;P&gt;I was about to write this only:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;SME_Person= E({1&amp;lt;LinkContact={'*'}&amp;gt;}) &amp;gt;} CON_CUSTOMER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be in hurry I wrote &lt;/P&gt;&lt;P&gt;count( {$&amp;lt;CON_CUSTOMER= E({1&amp;lt;LinkContact={'*'}&amp;gt;}) &amp;gt;} CON_CUSTOMER)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 11:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253690#M1194280</guid>
      <dc:creator />
      <dc:date>2011-06-01T11:02:36Z</dc:date>
    </item>
    <item>
      <title>Excluding data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253691#M1194281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a look at what you have suggested and I can't seem to get what you suggest work in my example although your logic looks good. As Erika has solved my problem I'll go with that!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 11:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-data-in-set-analysis/m-p/253691#M1194281</guid>
      <dc:creator />
      <dc:date>2011-06-01T11:31:25Z</dc:date>
    </item>
  </channel>
</rss>

