<?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: comparison between two columns of the same excel file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263590#M43699</link>
    <description>&lt;BR /&gt;thank you for your reply,&lt;BR /&gt;Yes I use an tFileExcelInput ,&lt;BR /&gt;If the columns are similar I create another column to say it's ok&lt;BR /&gt;if it is not similar I must also create a column to say that it's not ok&lt;BR /&gt;&lt;BR /&gt;THANKS&lt;BR /&gt;DIDI</description>
    <pubDate>Fri, 15 Mar 2019 15:51:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-15T15:51:38Z</dc:date>
    <item>
      <title>comparison between two columns of the same excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263588#M43697</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello everyone, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have an excel file that contains several lines of data, and for each line I need to compare two columns of the same line, please how can I proceed? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your guidance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 15:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263588#M43697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-15T15:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: comparison between two columns of the same excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263589#M43698</link>
      <description>&lt;P&gt;What is the problem you facing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;did you use , tFileExcelInput and read/compare data ? What do you want do if the columns are same or not same ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 15:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263589#M43698</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-15T15:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: comparison between two columns of the same excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263590#M43699</link>
      <description>&lt;BR /&gt;thank you for your reply,&lt;BR /&gt;Yes I use an tFileExcelInput ,&lt;BR /&gt;If the columns are similar I create another column to say it's ok&lt;BR /&gt;if it is not similar I must also create a column to say that it's not ok&lt;BR /&gt;&lt;BR /&gt;THANKS&lt;BR /&gt;DIDI</description>
      <pubDate>Fri, 15 Mar 2019 15:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263590#M43699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-15T15:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: comparison between two columns of the same excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263591#M43700</link>
      <description>&lt;P&gt;tFileInputExcel -- tMap/Tjava -- tFileOutputExcel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can update same excel which you are reading.&lt;/P&gt;
&lt;P&gt;To do that in tFileOutputExcel ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;select "Append existing excel'&lt;/P&gt;
&lt;P&gt;Select "Append existing Sheet" and then&lt;/P&gt;
&lt;P&gt;Select "Is absolute Y Pos." in this For C1 , X==2 and Y==0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also Write only result data .e.g.&lt;/P&gt;
&lt;P&gt;Input will read column A and B&lt;/P&gt;
&lt;P&gt;tMap will compare these two value , column C should be like row1.A.equals(row1.B) ? "same" : "not same"&lt;/P&gt;
&lt;P&gt;So tFileExcelOutput should wright only column C. not A and B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 16:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263591#M43700</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-15T16:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: comparison between two columns of the same excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263592#M43701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPH9AAO"&gt;@didi&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Seems pretty straight forward for me.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 853px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3T4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128206i62C855D2392E6895/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3T4.png" alt="0683p000009M3T4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3TE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145474iD36321074C15CEFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3TE.png" alt="0683p000009M3TE.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Code to be used is:-&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Relational.ISNULL(row1.data1) || Relational.ISNULL(row1.data2) || !(row1.data1.equals(row1.data2))? "N":"Y" &lt;/PRE&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 16:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263592#M43701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-15T16:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: comparison between two columns of the same excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263593#M43702</link>
      <description>&lt;P&gt;Hi Didi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I understand that you're trying to compare 2 columns in an excel file. Please check the below job and see if it solves your problem. A tJavaRow component is added for the custom logic. Please see the custom code in the below screenshot.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="community1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3TJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127814iF50D5C83594760E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3TJ.png" alt="0683p000009M3TJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="community2.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3TO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142385i72C0B5BE39E57F06/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3TO.png" alt="0683p000009M3TO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 16:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263593#M43702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-15T16:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: comparison between two columns of the same excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263594#M43703</link>
      <description>your code works very well thank you.&lt;BR /&gt;I want to read line by line of a column and returned the value of the line n ° 5 for example&lt;BR /&gt;&lt;BR /&gt;do you have an idea to do this please</description>
      <pubDate>Mon, 08 Apr 2019 15:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263594#M43703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T15:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: comparison between two columns of the same excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263595#M43704</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPH9AAO"&gt;@didi&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Since your new question is a totally different scenario, could you please post it as a new query? Please add sample input records and expected output records with detailed description so that Community members will be interested in it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 05:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparison-between-two-columns-of-the-same-excel-file/m-p/2263595#M43704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-09T05:41:40Z</dc:date>
    </item>
  </channel>
</rss>

