<?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: comparing the previous row and the current row ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212642#M10199</link>
    <description>Hi All,
&lt;BR /&gt;Let's assume that i had two tables one is having fresh data and another one is having lookup data.
&lt;BR /&gt;see the above screen shot i want outputs like that. even if single cell having modified also we treat that is unmatched.so how can we do this&amp;nbsp;
&lt;BR /&gt;Thanks In advance.</description>
    <pubDate>Mon, 21 Sep 2015 14:53:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-21T14:53:59Z</dc:date>
    <item>
      <title>comparing the previous row and the current row ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212635#M10192</link>
      <description>Hi,&lt;BR /&gt;Which component can I use to compare the previous row and the current row ?&lt;BR /&gt;I have many rows with a same column (id), and I want to extract the rows how have the same (Id), transforming this group and loading this in other output format .&lt;BR /&gt;the data is sorted in a delimited file like that:&lt;BR /&gt;id	           ref             cust              order&lt;BR /&gt;4020271;256554151;48.1416263;11.5411444&lt;BR /&gt;4020271;267508462;48.1406333;11.5421018&lt;BR /&gt;4020271;21585826;48.1449059;11.5411711&lt;BR /&gt;4020271;21585827;48.1444666;11.5407244&lt;BR /&gt;4513917;268472655;48.1437282;11.5405855&lt;BR /&gt;4513917;21324374;48.1448788;11.5426666&lt;BR /&gt;4513917;268098198;48.1443744;11.5416427&lt;BR /&gt;23692591;256554151;48.1416263;11.5411444&lt;BR /&gt;23692591;267508462;48.1406333;11.5421018&lt;BR /&gt;23692591;21585826;48.1449059;11.5411711&lt;BR /&gt;24608314;256554151;48.1416263;11.5411444&lt;BR /&gt;24608314;267508462;48.1406333;11.5421018&lt;BR /&gt;Thanks an advance.</description>
      <pubDate>Sat, 16 Nov 2024 14:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212635#M10192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: comparing the previous row and the current row ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212636#M10193</link>
      <description>Do you want to extract the columns with one special ID or do you want to generate a new output for each new ID ?&lt;BR /&gt;Regards,&lt;BR /&gt;Theo</description>
      <pubDate>Thu, 19 Jun 2008 10:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212636#M10193</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-06-19T10:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: comparing the previous row and the current row ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212637#M10194</link>
      <description>Hi,
&lt;BR /&gt;I want to make transformation for all row how have the same Id in context of Extract-Transform-Load directly in Buffer how have a defined shema.
&lt;BR /&gt;I try to use tjavaFlex with buffer to do that but I have a problem with using Buffer variable in tjavaFlex,I don't know if TOS give possibilities to use component variable (Metadata attribuite) in java component.
&lt;BR /&gt;I think that is the same way of tSortrow (virtual component) but using agregation of rows how have the same Id :
&lt;BR /&gt;
&lt;BR /&gt; String thisS&amp;lt;%=colname %&amp;gt; = String.valueOf(this.&amp;lt;%=colname %&amp;gt;);
&lt;BR /&gt; String otherS&amp;lt;%=colname %&amp;gt; = String.valueOf(other.&amp;lt;%=colname %&amp;gt;);
&lt;BR /&gt; if(!thisS&amp;lt;%=colname %&amp;gt;.equals(otherS&amp;lt;%=colname %&amp;gt;)){
&lt;BR /&gt;&amp;lt;%
&lt;BR /&gt; if(asc){
&lt;BR /&gt; %&amp;gt;
&lt;BR /&gt; return thisS&amp;lt;%=colname %&amp;gt;.compareTo(otherS&amp;lt;%=colname %&amp;gt;);
&lt;BR /&gt; &amp;lt;%
&lt;BR /&gt; }else{
&lt;BR /&gt; %&amp;gt;
&lt;BR /&gt; return otherS&amp;lt;%=colname %&amp;gt;.compareTo(thisS&amp;lt;%=colname %&amp;gt;);
&lt;BR /&gt; &amp;lt;%
&lt;BR /&gt; }
&lt;BR /&gt;
&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 19 Jun 2008 12:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212637#M10194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-19T12:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: comparing the previous row and the current row ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212638#M10195</link>
      <description>Hello. Geomati have you found any further solutions to this problem?&lt;BR /&gt;I have a similar situation where my input has several rows with matching id's and I must compose these into a single row.</description>
      <pubDate>Thu, 07 Aug 2008 15:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212638#M10195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-07T15:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: comparing the previous row and the current row ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212639#M10196</link>
      <description>Hello together,
&lt;BR /&gt;months ago I wrote a article about mergint n rows to one. May be this could help you. If not. Can you please give some more details about your input and output.
&lt;BR /&gt;
&lt;BR /&gt;Bye
&lt;BR /&gt;Volker</description>
      <pubDate>Thu, 07 Aug 2008 20:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212639#M10196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-07T20:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: comparing the previous row and the current row ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212640#M10197</link>
      <description>Thanks for the reply Volker. I was able to solve my problem with some assistance from your use case, however I had to do some things differently. As the rows in my input data were all very similar, it wasn't possible to use the filter component. I had to use JavaRow to incrementally combine each record, aggregate row to identify the most complete row for each record and finally tJoin to pick out the records from step 1. 
&lt;BR /&gt;If anyone has this same problem to solve, or is interested in how the solution works, post back and I'll take pictures of my job.</description>
      <pubDate>Mon, 11 Aug 2008 20:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212640#M10197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-11T20:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: comparing the previous row and the current row ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212641#M10198</link>
      <description>You are welcome.
&lt;BR /&gt;And if you would like to share your solution I think there is no problem to add a new use case (or add some more information to my one).
&lt;BR /&gt;Bye
&lt;BR /&gt;Volker</description>
      <pubDate>Mon, 11 Aug 2008 21:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212641#M10198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-11T21:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: comparing the previous row and the current row ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212642#M10199</link>
      <description>Hi All,
&lt;BR /&gt;Let's assume that i had two tables one is having fresh data and another one is having lookup data.
&lt;BR /&gt;see the above screen shot i want outputs like that. even if single cell having modified also we treat that is unmatched.so how can we do this&amp;nbsp;
&lt;BR /&gt;Thanks In advance.</description>
      <pubDate>Mon, 21 Sep 2015 14:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-the-previous-row-and-the-current-row/m-p/2212642#M10199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-21T14:53:59Z</dc:date>
    </item>
  </channel>
</rss>

