<?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: Not Exists in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304457#M406165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just loaded it once&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jun 2017 06:52:03 GMT</pubDate>
    <dc:creator>rahulsingh12</dc:creator>
    <dc:date>2017-06-30T06:52:03Z</dc:date>
    <item>
      <title>Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304449#M406157</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 have a table with two ID columns Primary_ID and FK_ID.&lt;/P&gt;&lt;P&gt;The Primary_ID contains the&amp;nbsp; FK_ID also ,so while loading the scipt I want the PrimaryID which are not the FK_ID .&lt;/P&gt;&lt;P&gt;How can I do it at a script level while loading the data.&lt;/P&gt;&lt;P&gt;Is there anything like not exist for script level restriction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304449#M406157</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-30T06:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304450#M406158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exists() really is a script level restriction, nothing else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But your requirement is a bit weird. You say that Primary_ID contains FK_ID, but next you want to load all rows where Primary_ID &amp;lt;&amp;gt; FK_ID... Isn't that a bit contradictory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304450#M406158</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-06-30T06:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304451#M406159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually It is what the way the day has to be structured.&lt;/P&gt;&lt;P&gt;The Primary may contain FK id but we want only the one's which are not in FK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304451#M406159</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-30T06:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304452#M406160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any suggestion on how to go about it.&lt;/P&gt;&lt;P&gt;basically the table should contain Primary and FK both fields but Primary should not have FK values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304452#M406160</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-30T06:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304453#M406161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be&lt;/P&gt;&lt;P&gt;..... Where Not Exists(Primary,FK);&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304453#M406161</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-30T06:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304454#M406162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/168671_Capture.PNG" style="height: auto;" /&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/168672_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your case it would be like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Load * &amp;lt;&amp;gt;&amp;nbsp; Where Not Exists(&lt;SPAN style="font-size: 13px;"&gt; FK_ID,&lt;SPAN style="font-family: 'courier new', courier; font-size: 13px;"&gt;Primary_ID&lt;/SPAN&gt;&lt;/SPAN&gt;);&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Corrected the order&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304454#M406162</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-06-30T06:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304455#M406163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is not loading any data for me.&lt;/P&gt;&lt;P&gt;the record count is 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304455#M406163</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-30T06:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304456#M406164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need 2nd LOAD Resident&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;LOAD * from Table Where Not Exists(Primary,PK);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304456#M406164</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-30T06:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304457#M406165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just loaded it once&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304457#M406165</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-30T06:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304458#M406166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That actually depends. If you don't use second load, the values in first field that appears later in second field would be loaded and I assume OP doesn't want that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304458#M406166</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-06-30T06:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304459#M406167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes You are right, &lt;STRONG&gt;'That actually depends'&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;If all values of PK are in Primary, then 2nd LOAD gets 0 Rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 07:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304459#M406167</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-30T07:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304460#M406168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tresesco is right, You can use that script to load the Primary key which are not FK_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muthu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 07:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304460#M406168</guid>
      <dc:creator>Muthu</dc:creator>
      <dc:date>2017-06-30T07:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304461#M406169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tres.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a remark. Isn't it the other way around? The OP says "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The Primary may contain FK id but we want only the one's which are not in FK.&lt;/SPAN&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shouldn't the second LOAD rather be something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;t2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOCONCATENATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * RESIDENT t1 WHERE Not Exists(&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;FKID, PK&lt;/STRONG&gt;&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 07:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304461#M406169</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-06-30T07:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304462#M406170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right. I have to read more carefully. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&amp;nbsp; Corrected the order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 07:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304462#M406170</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-06-30T07:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304463#M406171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rahul,&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FK_ID as NoPrimaryLikeThisID From SourceTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Load * From SourceTable Where NotExists(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NoPrimaryLikeThisID, &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Primary_ID&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Drop table &lt;SPAN style="font-size: 13.3333px;"&gt;Temp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Andrew&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 13:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-Exists/m-p/1304463#M406171</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-06-30T13:49:55Z</dc:date>
    </item>
  </channel>
</rss>

