<?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: Re: Populate a column with Where(not)exist in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679826#M246576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;tab1:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LOAD customid,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Book2.xlsx&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LOAD customid as custom,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Book2.xlsx&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;(ooxml, embedded labels, table is Sheet2)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;where Exists(custom, customid);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Sep 2014 07:55:14 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-09-12T07:55:14Z</dc:date>
    <item>
      <title>Populate a column with Where(not)exist</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679821#M246571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&amp;nbsp; I have an issues here:&lt;/P&gt;&lt;P&gt;I have two tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;customid,order&lt;/P&gt;&lt;P&gt;C100,10&lt;/P&gt;&lt;P&gt;C100,20&lt;/P&gt;&lt;P&gt;C101,10&lt;/P&gt;&lt;P&gt;C102,50&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;customid,status&lt;/P&gt;&lt;P&gt;C100, yes&lt;/P&gt;&lt;P&gt;C100,yes&lt;/P&gt;&lt;P&gt;C101,yes&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I join these 2 tables and add the value 'No' to the field 'status' for those customid who's not in table 2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks a lot for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679821#M246571</guid>
      <dc:creator />
      <dc:date>2014-09-11T15:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Populate a column with Where(not)exist</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679822#M246572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; customid, order&lt;/P&gt;&lt;P&gt;&amp;nbsp; C100, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp; C100, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp; C101, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp; C102, 50&lt;/P&gt;&lt;P&gt;&amp;nbsp; C103, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; C104, 1000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load *, customid as CID Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; customid, status&lt;/P&gt;&lt;P&gt;&amp;nbsp; C100, yes&lt;/P&gt;&lt;P&gt;&amp;nbsp; C100, yes&lt;/P&gt;&lt;P&gt;&amp;nbsp; C101, yes&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load customid,'No' as status Resident Table1 Where Not Exists (CID,customid);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Field CID;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679822#M246572</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-11T15:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Populate a column with Where(not)exist</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679823#M246573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Manish! Can you explain why do we need to add a new field 'CID' to make it work? And is it possible to combine table1 and table2 into one table? Thanks again! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 16:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679823#M246573</guid>
      <dc:creator />
      <dc:date>2014-09-11T16:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Populate a column with Where(not)exist</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679824#M246574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When we are using below is the syntax.&lt;/P&gt;&lt;P&gt;Where Not Exists(CurrentTableFieldName, FIeldNameToCompare);&lt;/P&gt;&lt;P&gt;So, for comparision, I have created CID which is not needed after the comparison, so being dropped/deleted..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to join two tables, use below code after drop statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table1) Load * Resident Table2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop Table Table2;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 18:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679824#M246574</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-11T18:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Populate a column with Where(not)exist</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679825#M246575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your solution works perfectly! Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I discovered something else: I have this file (see the attachment) ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - when i rename the KeyField and use where Exists(Key Field_New name), the load wouldn't work and I would have the error message:Field not found - &amp;lt;custom&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - when I load with where Exists(Key Field_Old name), there's no error message but the field 'status' is empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab1:&lt;/P&gt;&lt;P&gt;LOAD customid as custom, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Book2.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD customid as custom, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Book2.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet2)&lt;/P&gt;&lt;P&gt;where Exists(custom);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 20:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679825#M246575</guid>
      <dc:creator />
      <dc:date>2014-09-11T20:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Populate a column with Where(not)exist</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679826#M246576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;tab1:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LOAD customid,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Book2.xlsx&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LOAD customid as custom,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Book2.xlsx&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;(ooxml, embedded labels, table is Sheet2)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;where Exists(custom, customid);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 07:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-a-column-with-Where-not-exist/m-p/679826#M246576</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-12T07:55:14Z</dc:date>
    </item>
  </channel>
</rss>

