<?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: Detecting rows that don't exist anymore based on columns in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Detecting-rows-that-don-t-exist-anymore-based-on-columns/m-p/2244985#M30977</link>
    <description>&lt;P&gt;Hello Thomas, thank you for your reply,&lt;BR /&gt;Unfortunately, that doesn't do the job;&amp;nbsp;&lt;SPAN&gt;an inner join on ID, Code and Category would detect even the rows where ID is different and I need to compare rows that have the same ID but the Code or Category changed. Correct me if I'm wrong but as I understood Inner Join Reject detects the rows where any of the columns fails, I want to detect the rejets where ID AND Code AND Category don't exist anymore like a combination instead of the default behaviour of inner join reject ID OR Code or Category fails.&lt;BR /&gt;I even tried an inner join only on ID and added a filter Code1 != Code2 || Category1 != Category2 yet it fails in the example illustrated above, when multiple rows exist in the two files.&lt;BR /&gt;Regards,&lt;BR /&gt;Bacem&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 22:55:45 GMT</pubDate>
    <dc:creator>Mirmae</dc:creator>
    <dc:date>2020-05-14T22:55:45Z</dc:date>
    <item>
      <title>Detecting rows that don't exist anymore based on columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Detecting-rows-that-don-t-exist-anymore-based-on-columns/m-p/2244983#M30975</link>
      <description>&lt;P&gt;Hello Community,&lt;BR /&gt;I'm struggling with a problem;&lt;BR /&gt;I have 2 tFileInputDelimeted (one for today's movements, one for yesterday's) , the idea is to extract the rows that exist in the first file but not the second based on some criteria.&lt;BR /&gt;For example, I need to detect the the rows in the first file which don't exist in the second one based on 3 columns (ID, Code, Category), the ID is not unique as a person can have many actvities with the same ID.&lt;BR /&gt;Example of data:&lt;BR /&gt;&lt;STRONG&gt;File 1:&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;ID;Code;Category;Name;...&lt;BR /&gt;Row 1) 10005873350;70;C;Fabien;...&lt;BR /&gt;Row 2) 10005873350;70;M;Fabien;...&lt;BR /&gt;Row 3) 10005884968;60;M;Michael;...&lt;BR /&gt;&lt;STRONG&gt;File 2:&lt;/STRONG&gt;&lt;BR /&gt;ID;Code;Category;Name;...&lt;BR /&gt;Row 1*) 10005873350;70;C;Fabien;...&lt;BR /&gt;Row 2*) 10005873350;70;M;Fabien;...&lt;BR /&gt;Row 3*) 10005884968;69;M;Michael;...&lt;BR /&gt;&lt;BR /&gt;I only need to detect the rows in the File 2 with the same ID but where Code or Category changed, on condition that there isn't another row with the same ID,Code and Category. In the above example only row 3 should be detected.&lt;BR /&gt;I tried to do an inner join, joined by Id and added a filter (File1.Code!=File2.Code || File1.Category!=File2.Category) and even tried the inner join reject, my problem is that Row 1 and 2 will be extracted where they shouldn't be, as Row1 detects the change in Row 2* and Row 2 detects the change in Row 1*.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 14:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Detecting-rows-that-don-t-exist-anymore-based-on-columns/m-p/2244983#M30975</guid>
      <dc:creator>Mirmae</dc:creator>
      <dc:date>2020-05-10T14:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting rows that don't exist anymore based on columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Detecting-rows-that-don-t-exist-anymore-based-on-columns/m-p/2244984#M30976</link>
      <description>&lt;P&gt;Hello Mirmae,&lt;/P&gt;&lt;P&gt;an inner join on ID and Code and Category and collecting the inner join rejects does not work for your data?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 19:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Detecting-rows-that-don-t-exist-anymore-based-on-columns/m-p/2244984#M30976</guid>
      <dc:creator>ThWabi</dc:creator>
      <dc:date>2020-05-14T19:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting rows that don't exist anymore based on columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Detecting-rows-that-don-t-exist-anymore-based-on-columns/m-p/2244985#M30977</link>
      <description>&lt;P&gt;Hello Thomas, thank you for your reply,&lt;BR /&gt;Unfortunately, that doesn't do the job;&amp;nbsp;&lt;SPAN&gt;an inner join on ID, Code and Category would detect even the rows where ID is different and I need to compare rows that have the same ID but the Code or Category changed. Correct me if I'm wrong but as I understood Inner Join Reject detects the rows where any of the columns fails, I want to detect the rejets where ID AND Code AND Category don't exist anymore like a combination instead of the default behaviour of inner join reject ID OR Code or Category fails.&lt;BR /&gt;I even tried an inner join only on ID and added a filter Code1 != Code2 || Category1 != Category2 yet it fails in the example illustrated above, when multiple rows exist in the two files.&lt;BR /&gt;Regards,&lt;BR /&gt;Bacem&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 22:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Detecting-rows-that-don-t-exist-anymore-based-on-columns/m-p/2244985#M30977</guid>
      <dc:creator>Mirmae</dc:creator>
      <dc:date>2020-05-14T22:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting rows that don't exist anymore based on columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Detecting-rows-that-don-t-exist-anymore-based-on-columns/m-p/2244986#M30978</link>
      <description>&lt;P&gt;Hello Bacem,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;my first answer/question focused on the example data you provided. But your data has more varieties.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LR8CAAW"&gt;@Mirmae&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;&lt;SPAN&gt;added a filter Code1 != Code2 || Category1 != Category2&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;May I ask where you placed that filter? If it was on the output side of the tMap, I want to suggest that you put in the middle in the Var pane and have the expressions evaluated there.&lt;/P&gt; 
&lt;P&gt;(On the input side, use an inner join on ID with 'all matches' as you (probably) did before.)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thomas&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 07:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Detecting-rows-that-don-t-exist-anymore-based-on-columns/m-p/2244986#M30978</guid>
      <dc:creator>ThWabi</dc:creator>
      <dc:date>2020-05-19T07:27:13Z</dc:date>
    </item>
  </channel>
</rss>

