<?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: [Data integration] Compare data from two tDBinput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Data-integration-Compare-data-from-two-tDBinput/m-p/2298514#M70967</link>
    <description>You have to place a step before the actual matching: 
&lt;BR /&gt;Aggregate first and count: 
&lt;BR /&gt;Input A: 
&lt;BR /&gt;Act : Y - 01/01/2018 - 1 
&lt;BR /&gt;Z - 02/01/2018 - 1 
&lt;BR /&gt;Input B: 
&lt;BR /&gt;Act : Y - 01/01/2018 - 2 
&lt;BR /&gt;Z - 02/01/2018 - 1 
&lt;BR /&gt;K - 05/05/2018 - 1 
&lt;BR /&gt; 
&lt;BR /&gt;Assuming in your given example Input B contains all of the data. Perform a left/right join and catch non matching records. Use the tMap component and read the documentation too 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;) 
&lt;BR /&gt;Pretty easy I think. 
&lt;BR /&gt;</description>
    <pubDate>Wed, 08 Aug 2018 17:07:09 GMT</pubDate>
    <dc:creator>Jesperrekuh</dc:creator>
    <dc:date>2018-08-08T17:07:09Z</dc:date>
    <item>
      <title>[Data integration] Compare data from two tDBinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-integration-Compare-data-from-two-tDBinput/m-p/2298513#M70966</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if I don't post in the right place but I'm new with Talend.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For my problem, I have two tDBinput which return an identifiant, an act and the date of the act. (Each input are for different databases)&lt;/P&gt;&lt;P&gt;I have to compare the result of my Inputs but I don't know how to do that.&lt;/P&gt;&lt;P&gt;Indeed, for an exemple of data I have :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input A :&lt;/P&gt;&lt;P&gt;Identifiant : 1&lt;/P&gt;&lt;P&gt;Act : Y - 01/01/2018&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Z - 02/01/2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input B :&lt;/P&gt;&lt;P&gt;Identifiant : 1&lt;/P&gt;&lt;P&gt;Act : Y - 01/01/2018&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Y - 01/01/2018&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Z - 02/01/2018&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; K - 05/05/2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The filter that I should create have to return : Y - 01/01/2018 (Cause I have 2 in input B but only one in input A) and K-05/05/2018 because it exist in input B but not in Input A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't find how to do that, I don't know if it is possible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me please ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Sorry for my english level)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 16:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-integration-Compare-data-from-two-tDBinput/m-p/2298513#M70966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T16:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: [Data integration] Compare data from two tDBinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-integration-Compare-data-from-two-tDBinput/m-p/2298514#M70967</link>
      <description>You have to place a step before the actual matching: 
&lt;BR /&gt;Aggregate first and count: 
&lt;BR /&gt;Input A: 
&lt;BR /&gt;Act : Y - 01/01/2018 - 1 
&lt;BR /&gt;Z - 02/01/2018 - 1 
&lt;BR /&gt;Input B: 
&lt;BR /&gt;Act : Y - 01/01/2018 - 2 
&lt;BR /&gt;Z - 02/01/2018 - 1 
&lt;BR /&gt;K - 05/05/2018 - 1 
&lt;BR /&gt; 
&lt;BR /&gt;Assuming in your given example Input B contains all of the data. Perform a left/right join and catch non matching records. Use the tMap component and read the documentation too 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;) 
&lt;BR /&gt;Pretty easy I think. 
&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2018 17:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-integration-Compare-data-from-two-tDBinput/m-p/2298514#M70967</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-08-08T17:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: [Data integration] Compare data from two tDBinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-integration-Compare-data-from-two-tDBinput/m-p/2298515#M70968</link>
      <description>&lt;P&gt;Thanks for you answer, I'm ok now with the tmap but I have a problem with the agregate and count my acte.&lt;/P&gt;&lt;P&gt;Indeed, insteead of have result like :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Act : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Y - 01/01/2018 - 1|| Identifiant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Z - 02/01/2018 - 1|| Identifiant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Input B:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Act : Y - 01/01/2018 - 2 || Identifiant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Z - 02/01/2018 - 1|| Identifiant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;K - 05/05/2018 - 1|| Identifiant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have something like&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Input B:&lt;BR /&gt;Act : Y - 01/01/2018 || Identifiant&amp;nbsp;|| Identifiant&lt;BR /&gt;Z - 02/01/2018 || Identifiant&lt;BR /&gt;K - 05/05/2018 || Identifiant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I try to list. And count function give me an error cause of the format of input...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have something like that in my taggregateRow : (IEP is the identifiant)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and my data are :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;act :&amp;nbsp;YYYY60001-04/03/2018&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ident :&amp;nbsp;214229241&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Did I miss something ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsJp"&gt;AggregateRow.PNG&lt;/A&gt;</description>
      <pubDate>Fri, 10 Aug 2018 10:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-integration-Compare-data-from-two-tDBinput/m-p/2298515#M70968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T10:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: [Data integration] Compare data from two tDBinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-integration-Compare-data-from-two-tDBinput/m-p/2298516#M70969</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I resolve my problem and now I have row1's data like :&lt;/P&gt; 
&lt;P&gt;A|ZCQJ00101-02/08/2018x1&lt;BR /&gt;A|JKHD00101-02/08/2018x1&lt;BR /&gt;A|ZCQM00101-02/08/2018x1&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;where&amp;nbsp;A&lt;SPAN&gt;is my ident.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;For row2 I have this :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;A|ZCQJ00101-02/08/2018x1&lt;BR /&gt;A|JKHD00101-02/08/2018x1&lt;BR /&gt;A|ZCQM00101-02/08/2018x1&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So tmap should return me&amp;nbsp;:&amp;nbsp;A|JQQM01001-06/08/2018x1&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Row1 is the main output with all my data and Row2 is my lookup.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;On the tmap, I set as inner join, and I set "Catch output inner join" as yes for the output.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;After that, take the "rejet" output in a tlogrow.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Instead of have only one row, this return me all the rows from my row1&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmap.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzsZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142561iFB16C06A661A5A39/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzsZ.png" alt="0683p000009LzsZ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 10:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-integration-Compare-data-from-two-tDBinput/m-p/2298516#M70969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-13T10:57:48Z</dc:date>
    </item>
  </channel>
</rss>

