<?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 Not Exists in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791777#M1030945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am fairly new to QV, and still struggling on pulling complicated items,&lt;/P&gt;&lt;P&gt;i have tried to solve this, but got into a point where i need the help of community friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Challenge is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i have a sales table, with ads (I call it JobId),&lt;/P&gt;&lt;P&gt;and the type of posting it had (I call it SaleType),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SaleType column can show these values:&lt;/P&gt;&lt;P&gt;1. 'Base' - which is basic posting, only publish the ad&lt;/P&gt;&lt;P&gt;2. 'Social Boost' / 'Super Size' / etc - which is an upgraded posting on top of the Basic one&lt;/P&gt;&lt;P&gt;like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77714_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;So,&amp;nbsp; you can see the YELLOW lines indicate that a specific JobId was posted on Oct 2014,&lt;/P&gt;&lt;P&gt;with a 'Base' SaleType AND 3 additional Upgrades.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to pull only the ads that have only 'Base' SaleType on a specific month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL i would just use a not exists statement, but here i don't know what is the solution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i expect that a BI tool like QV, will offer not less analytical functions like a standard TSQL offers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;i added my SQL query only to elaborate on this challenge (see below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SELECT b.AffiliateID, DATEPART(YEAR,b.SaleDate) [Year], DATEPART(Month,b.SaleDate) [month], count(distinct b.jobid)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM FactMonthlyConversion b&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;WHERE 1=1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AND b.SaleType='Base'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AND NOT EXISTS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; (&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; SELECT&amp;nbsp; *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; FROM FactMonthlyConversion a&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; WHERE 1=1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and (a.SaleType like '%Boost' or a.SaleType='super size' or a.SaleType='super size lite')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; AND a.JobId=b.JobId&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and DATEPART(YEAR,a.SaleDate)=DATEPART(YEAR,b.SaleDate)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and DATEPART(Month,a.SaleDate)=DATEPART(Month,b.SaleDate)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GROUP BY b.AffiliateID, DATEPART(YEAR,b.SaleDate) , DATEPART(Month,b.SaleDate) &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 08:47:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-12T08:47:48Z</dc:date>
    <item>
      <title>Not Exists in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791777#M1030945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am fairly new to QV, and still struggling on pulling complicated items,&lt;/P&gt;&lt;P&gt;i have tried to solve this, but got into a point where i need the help of community friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Challenge is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i have a sales table, with ads (I call it JobId),&lt;/P&gt;&lt;P&gt;and the type of posting it had (I call it SaleType),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SaleType column can show these values:&lt;/P&gt;&lt;P&gt;1. 'Base' - which is basic posting, only publish the ad&lt;/P&gt;&lt;P&gt;2. 'Social Boost' / 'Super Size' / etc - which is an upgraded posting on top of the Basic one&lt;/P&gt;&lt;P&gt;like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77714_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;So,&amp;nbsp; you can see the YELLOW lines indicate that a specific JobId was posted on Oct 2014,&lt;/P&gt;&lt;P&gt;with a 'Base' SaleType AND 3 additional Upgrades.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to pull only the ads that have only 'Base' SaleType on a specific month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL i would just use a not exists statement, but here i don't know what is the solution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i expect that a BI tool like QV, will offer not less analytical functions like a standard TSQL offers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;i added my SQL query only to elaborate on this challenge (see below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SELECT b.AffiliateID, DATEPART(YEAR,b.SaleDate) [Year], DATEPART(Month,b.SaleDate) [month], count(distinct b.jobid)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM FactMonthlyConversion b&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;WHERE 1=1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AND b.SaleType='Base'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AND NOT EXISTS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; (&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; SELECT&amp;nbsp; *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; FROM FactMonthlyConversion a&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; WHERE 1=1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and (a.SaleType like '%Boost' or a.SaleType='super size' or a.SaleType='super size lite')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; AND a.JobId=b.JobId&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and DATEPART(YEAR,a.SaleDate)=DATEPART(YEAR,b.SaleDate)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and DATEPART(Month,a.SaleDate)=DATEPART(Month,b.SaleDate)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GROUP BY b.AffiliateID, DATEPART(YEAR,b.SaleDate) , DATEPART(Month,b.SaleDate) &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 08:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791777#M1030945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-12T08:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791778#M1030946</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;In Qlikview also we have not exists function, check help file for reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;FROM Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;Column1,&lt;/P&gt;&lt;P&gt;Column2,&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;/P&gt;&lt;P&gt;FROM Table2&lt;/P&gt;&lt;P&gt;WHERE NOT EXISTS(ID);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 09:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791778#M1030946</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-02-12T09:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791779#M1030947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;The Exists statement doesn't remove anything,&lt;/P&gt;&lt;P&gt;meaning that Table 2 is not changed after the exists statement...&lt;/P&gt;&lt;P&gt;do you know what is wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Table 1&lt;/P&gt;&lt;P&gt;FactMonthlyConversion:&lt;/P&gt;&lt;P&gt;LOAD AffiliateID as AffiliateId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(SaleDate) &amp;amp; '-' &amp;amp; Num(Month(SaleDate),'00') as [Year-Month],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SaleType, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JobId&lt;/P&gt;&lt;P&gt;FROM [1_raw\FactMonthlyConversion.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//This is the basic Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Table 2&lt;/P&gt;&lt;P&gt;FactMonthlyConversionNonUpgraded:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; AffiliateId, &lt;/P&gt;&lt;P&gt;&amp;nbsp; [Year-Month],&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(SaleType='Base', JobId,'') as [Ads]&lt;/P&gt;&lt;P&gt;Resident FactMonthlyConversion;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Table 3&lt;/P&gt;&lt;P&gt;FactMonthlyConversionUpgraded:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; AffiliateId, &lt;/P&gt;&lt;P&gt;&amp;nbsp; [Year-Month],&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(wildmatch(SaleType,'*Boost', 'Super Size Lite', 'Super Size'), JobId,'') as [Ads]&lt;/P&gt;&lt;P&gt;Resident FactMonthlyConversion&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;/P&gt;&lt;P&gt;WHERE NOT EXISTS([Ads], [Year-Month]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit script;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 12:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791779#M1030947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-12T12:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791780#M1030948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the think is that i want to add conditions to the NOT Exists,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like ID and Date,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so qlikview needs to have the same column name in order to know how to do the condition of the exists?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 13:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791780#M1030948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-26T13:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791781#M1030949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd prefer to keep the QV table exactly as you show in your original question, and then count the number of entries for each JobID and create a table showing only those where the count is equal to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or perhaps I misunderstand the requirement ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 16:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791781#M1030949</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-03-26T16:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791782#M1030951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you actually need to load this bit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Table 3&lt;/P&gt;&lt;P&gt;FactMonthlyConversionUpgraded:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; AffiliateId,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Year-Month],&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(wildmatch(SaleType,'*Boost', 'Super Size Lite', 'Super Size'), JobId,'') as [Ads]&lt;/P&gt;&lt;P&gt;Resident FactMonthlyConversion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all you are the 'base' sales type, which appear to be loaded in the previous step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 16:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791782#M1030951</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-26T16:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791783#M1030953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for helping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 tables:&lt;/P&gt;&lt;P&gt;1. a table with all ID's&lt;/P&gt;&lt;P&gt;2. a table with only ID's of upgraded jobs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to do a not exists condition in order to do table(1) - table(2), so i will have only the non upgraded jobs,&lt;/P&gt;&lt;P&gt;but i want to group it by the month,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;//The Original table is grouped by months&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FactMonthlyConversion:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LOAD AffiliateID as AffiliateId,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(SaleDate) &amp;amp; '-' &amp;amp; Num(Month(SaleDate),'00') as [Year-Month],&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SaleType,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JobId&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FROM [1_raw\FactMonthlyConversion.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;//This table will have all ID's&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FactMonthlyConversionNonUpgraded:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LOAD&amp;nbsp; AffiliateId,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; [Year-Month],&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(SaleType='Base', JobId,'') as [Ads]&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Resident FactMonthlyConversion;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;//This table will have ID's only of the upgraded ads&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FactMonthlyConversionUpgraded:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LOAD&amp;nbsp; AffiliateId,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; [Year-Month],&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; IF(wildmatch(SaleType,'*Boost', 'Super Size Lite', 'Super Size'), JobId,'') as [Ads]&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Resident FactMonthlyConversion&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;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;WHERE NOT EXISTS([Ads], [Year-Month]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;exit script;&lt;/P&gt;&lt;P class="jive-thread-reply-btn" style="margin: 26px 0 -10px; font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;DIV class="jive-thread-reply-btn-correct" style="font-weight: inherit; font-style: inherit; font-size: 11.6999998092651px; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/740886?et=watches.email.thread" style="margin: 0 20px 0 0; padding: 2px 14px 4px 28px; font-weight: bold; font-style: inherit; font-size: 11.6999998092651px; font-family: inherit; color: #3778c7; background-color: #f3f3f3;"&gt;Re: Not Exists in a table&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 11:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists-in-a-table/m-p/791783#M1030953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-29T11:12:14Z</dc:date>
    </item>
  </channel>
</rss>

