<?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 Show fields based on exists condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-fields-based-on-exists-condition/m-p/272901#M102154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something similiar to that.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say User A - contained Apples and User A also contained Bananas.&amp;nbsp; Whereas User B only had apples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show the Users that ONLY have Apples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it would be something like if( not exists, 'Bananas', UserID). So in my table it would only show User B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your example, I believe it would show User A and User B. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2011 11:31:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-25T11:31:03Z</dc:date>
    <item>
      <title>Show fields based on exists condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-fields-based-on-exists-condition/m-p/272899#M102152</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 attempting to create a table in which a user will appear but only if certain values do not exist against the users ID. In total there are 4 values that I want to make sure don't exist against the user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using if(not exists(STATUS, 'ACTIVE') and if(not exists(STATUS, 'REACTIVATED'), USER_ID), but my table shows nothing. I presume that I am writing this out the wrong way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 10:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-fields-based-on-exists-condition/m-p/272899#M102152</guid>
      <dc:creator />
      <dc:date>2011-10-25T10:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show fields based on exists condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-fields-based-on-exists-condition/m-p/272900#M102153</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; Do you mean like this (see attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Robert Svebeck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 11:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-fields-based-on-exists-condition/m-p/272900#M102153</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2011-10-25T11:15:10Z</dc:date>
    </item>
    <item>
      <title>Show fields based on exists condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-fields-based-on-exists-condition/m-p/272901#M102154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something similiar to that.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say User A - contained Apples and User A also contained Bananas.&amp;nbsp; Whereas User B only had apples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show the Users that ONLY have Apples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it would be something like if( not exists, 'Bananas', UserID). So in my table it would only show User B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your example, I believe it would show User A and User B. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 11:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-fields-based-on-exists-condition/m-p/272901#M102154</guid>
      <dc:creator />
      <dc:date>2011-10-25T11:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Show fields based on exists condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-fields-based-on-exists-condition/m-p/272902#M102155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It is possible to solve this with "count". &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;First you count total number of records for the dimension, and then count the number of records with apples for the dimension.&lt;/P&gt;&lt;P&gt;-&amp;gt; Then you will know if the data contains only apples by subtracting the differens in count.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But I seriously doubt that this is the "best solution". &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It would be very interesting if someone can provide a better solition. See attached simplified example of my count solution...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// Robert Svebeck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 10:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-fields-based-on-exists-condition/m-p/272902#M102155</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2011-10-26T10:34:57Z</dc:date>
    </item>
  </channel>
</rss>

