<?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: where not exists - data matching does not work in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/where-not-exists-data-matching-does-not-work/m-p/2115347#M91019</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can try to rename field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A:&lt;BR /&gt;LOAD&lt;BR /&gt;ID,&lt;/P&gt;
&lt;P&gt;ID as ID_A&lt;BR /&gt;FROM [lib://QVD Edited/$(vTodayBackUp2).qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;
&lt;P&gt;B:&lt;BR /&gt;LOAD&lt;BR /&gt;ID,&lt;/P&gt;
&lt;P&gt;ID as ID_B&lt;BR /&gt;FROM [lib://QVD Edited/$(vTodayBackUp2_old).qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;C:&lt;BR /&gt;LOAD&lt;BR /&gt;ID&lt;BR /&gt;RESIDENT A&lt;BR /&gt;WHERE NOT Exists(ID_B, ID);&lt;/P&gt;
&lt;P&gt;CONCATENATE (C)&lt;/P&gt;
&lt;P&gt;C2:&lt;BR /&gt;LOAD&lt;BR /&gt;ID&lt;BR /&gt;RESIDENT B&lt;BR /&gt;WHERE NOT Exists(ID_A, ID);&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2023 07:56:12 GMT</pubDate>
    <dc:creator>Aurelien_Martinez</dc:creator>
    <dc:date>2023-09-11T07:56:12Z</dc:date>
    <item>
      <title>where not exists - data matching does not work</title>
      <link>https://community.qlik.com/t5/App-Development/where-not-exists-data-matching-does-not-work/m-p/2115327#M91018</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;i have data sources (Table A and B). I just want to have records in table c that:&lt;BR /&gt;- Records from A that are not included in B&lt;BR /&gt;- Records from B that are not included in A&lt;BR /&gt;&lt;BR /&gt;but i don't have the feeling that it works. for testing i set A=B (same data each 41 records). so i expect the result is null, 0 or error.&amp;nbsp; but the result is A concatonates B (all 82 records). &lt;BR /&gt;&lt;BR /&gt;as a first solution attempt I used different qualifiers for the field ID from the different tables (like ID_tmp_V2). But this does not lead to success. as a second approach, I had provided ID with num() for safety, but that also did not lead to the result.&lt;BR /&gt;&lt;BR /&gt;where is my thinking mistake?&lt;BR /&gt;&lt;BR /&gt;(is there a simpler alternative to match the content of two data sources and get the inhat differences as a result?)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;THE Code:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A:&lt;BR /&gt;LOAD&lt;BR /&gt;ID&lt;BR /&gt;FROM [lib://QVD Edited/$(vTodayBackUp2).qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;
&lt;P&gt;B:&lt;BR /&gt;LOAD&lt;BR /&gt;ID&lt;BR /&gt;FROM [lib://QVD Edited/$(vTodayBackUp2_old).qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;C:&lt;BR /&gt;LOAD&lt;BR /&gt;ID&lt;BR /&gt;RESIDENT A&lt;BR /&gt;WHERE NOT Exists(ID, 'B');&lt;/P&gt;
&lt;P&gt;CONCATENATE (C)&lt;/P&gt;
&lt;P&gt;C2:&lt;BR /&gt;LOAD&lt;BR /&gt;ID&lt;BR /&gt;RESIDENT B&lt;BR /&gt;WHERE NOT Exists(ID, 'A');&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 07:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/where-not-exists-data-matching-does-not-work/m-p/2115327#M91018</guid>
      <dc:creator>Seier-Alsenz</dc:creator>
      <dc:date>2023-09-11T07:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: where not exists - data matching does not work</title>
      <link>https://community.qlik.com/t5/App-Development/where-not-exists-data-matching-does-not-work/m-p/2115347#M91019</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can try to rename field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A:&lt;BR /&gt;LOAD&lt;BR /&gt;ID,&lt;/P&gt;
&lt;P&gt;ID as ID_A&lt;BR /&gt;FROM [lib://QVD Edited/$(vTodayBackUp2).qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;
&lt;P&gt;B:&lt;BR /&gt;LOAD&lt;BR /&gt;ID,&lt;/P&gt;
&lt;P&gt;ID as ID_B&lt;BR /&gt;FROM [lib://QVD Edited/$(vTodayBackUp2_old).qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;C:&lt;BR /&gt;LOAD&lt;BR /&gt;ID&lt;BR /&gt;RESIDENT A&lt;BR /&gt;WHERE NOT Exists(ID_B, ID);&lt;/P&gt;
&lt;P&gt;CONCATENATE (C)&lt;/P&gt;
&lt;P&gt;C2:&lt;BR /&gt;LOAD&lt;BR /&gt;ID&lt;BR /&gt;RESIDENT B&lt;BR /&gt;WHERE NOT Exists(ID_A, ID);&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 07:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/where-not-exists-data-matching-does-not-work/m-p/2115347#M91019</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2023-09-11T07:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: where not exists - data matching does not work</title>
      <link>https://community.qlik.com/t5/App-Development/where-not-exists-data-matching-does-not-work/m-p/2115357#M91020</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;yes, we can rename the fields and it works&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Employees:&lt;BR /&gt;Load *, Employee As Emp;&lt;BR /&gt;LOAD * inline [&lt;BR /&gt;Employee|ID|Salary&lt;BR /&gt;Bill|001|20000&lt;BR /&gt;John|002|30000&lt;BR /&gt;Steve|003|35000&lt;BR /&gt;New|004|35774&lt;BR /&gt;] (delimiter is '|');&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Citizens:&lt;BR /&gt;Load *, Employee As Emp1;&lt;BR /&gt;Load * inline [&lt;BR /&gt;Employee|Address&lt;BR /&gt;Bill|New York&lt;BR /&gt;Mary|London&lt;BR /&gt;Steve|Chicago&lt;BR /&gt;Lucy|Madrid&lt;BR /&gt;Lucy|Paris&lt;BR /&gt;John|Miami&lt;BR /&gt;] (delimiter is '|');&lt;/P&gt;
&lt;P&gt;noConcatenate&lt;BR /&gt;E1:&lt;BR /&gt;load *&lt;BR /&gt;Resident Employees&lt;BR /&gt;where not Exists (Emp1, Emp);&lt;/P&gt;
&lt;P&gt;Concatenate&lt;/P&gt;
&lt;P&gt;C1:&lt;BR /&gt;load *&lt;BR /&gt;Resident Citizens&lt;BR /&gt;where not Exists(Emp, Employee);&lt;/P&gt;
&lt;P&gt;drop Fields Emp,Emp1 from E1;&lt;BR /&gt;drop Tables Employees, Citizens;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sohan_Patil_0-1694420603428.png" style="width: 582px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/115983i63FBA34F2A935AE7/image-dimensions/582x201?v=v2" width="582" height="201" role="button" title="Sohan_Patil_0-1694420603428.png" alt="Sohan_Patil_0-1694420603428.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 08:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/where-not-exists-data-matching-does-not-work/m-p/2115357#M91020</guid>
      <dc:creator>Sohan_Patil</dc:creator>
      <dc:date>2023-09-11T08:23:56Z</dc:date>
    </item>
  </channel>
</rss>

