<?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 Help me understand tUniqRow's de-duplicating behavior in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Help-me-understand-tUniqRow-s-de-duplicating-behavior/m-p/2263628#M43724</link>
    <description>&lt;P&gt;I have some data which looks like this:&lt;/P&gt;
&lt;P&gt;Col1&amp;nbsp; &amp;nbsp; &amp;nbsp;Col2&amp;nbsp; &amp;nbsp; &amp;nbsp; Col3&amp;nbsp; &amp;nbsp; &amp;nbsp; Col4&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wer&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wer&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/P&gt;
&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wer&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My requirement is to get a unique row, which is unique at col2 and col3 level. While I don't need what's in the Col1 or Col4, I intend to keep the highest value of Col4. This requirement thus makes me want to keep record number 3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the tUniqRow component, I only have the option to specify col2 and col3. Going by that, there are three records matching that criteria.I can't check the col4 since it'll yield three different records (pretty much the dataset).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would the tUniqRow component know, which record to keep? If it 'always' picks the first record of the group, I must sort the data at Col4 level so that the record with value 6 comes at the top. However, since I don't understand how the tUniqRow operates, I can't take a call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It'd be great to have someone confirm this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Oct 2018 14:27:07 GMT</pubDate>
    <dc:creator>sushantV</dc:creator>
    <dc:date>2018-10-16T14:27:07Z</dc:date>
    <item>
      <title>Help me understand tUniqRow's de-duplicating behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-me-understand-tUniqRow-s-de-duplicating-behavior/m-p/2263628#M43724</link>
      <description>&lt;P&gt;I have some data which looks like this:&lt;/P&gt;
&lt;P&gt;Col1&amp;nbsp; &amp;nbsp; &amp;nbsp;Col2&amp;nbsp; &amp;nbsp; &amp;nbsp; Col3&amp;nbsp; &amp;nbsp; &amp;nbsp; Col4&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wer&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wer&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/P&gt;
&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wer&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My requirement is to get a unique row, which is unique at col2 and col3 level. While I don't need what's in the Col1 or Col4, I intend to keep the highest value of Col4. This requirement thus makes me want to keep record number 3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the tUniqRow component, I only have the option to specify col2 and col3. Going by that, there are three records matching that criteria.I can't check the col4 since it'll yield three different records (pretty much the dataset).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would the tUniqRow component know, which record to keep? If it 'always' picks the first record of the group, I must sort the data at Col4 level so that the record with value 6 comes at the top. However, since I don't understand how the tUniqRow operates, I can't take a call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It'd be great to have someone confirm this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 14:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-me-understand-tUniqRow-s-de-duplicating-behavior/m-p/2263628#M43724</guid>
      <dc:creator>sushantV</dc:creator>
      <dc:date>2018-10-16T14:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help me understand tUniqRow's de-duplicating behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-me-understand-tUniqRow-s-de-duplicating-behavior/m-p/2263629#M43725</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Before tuniqrow use component tsortrow to sort the column 4 in desc order.&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-inline" image-alt="tuniqrow.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0W0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129754i2CE50BC89067FFCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0W0.png" alt="0683p000009M0W0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Ganshyam&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 15:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-me-understand-tUniqRow-s-de-duplicating-behavior/m-p/2263629#M43725</guid>
      <dc:creator>Ganshyam</dc:creator>
      <dc:date>2018-10-16T15:49:18Z</dc:date>
    </item>
  </channel>
</rss>

