<?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 window function in talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/window-function-in-talend/m-p/2324103#M93852</link>
    <description>&lt;P&gt;Q. I have a table with 2 columns -A_number and B_number. For every A_number I need to get the count of unique B_number associated with it and also in the third column count of &amp;nbsp;unique numbers should be displayed. I achieved this in SQL using window function count, for the count column. But I'm finding it difficult to implement this in Talend.&lt;/P&gt;&lt;P&gt;SQL resultant table looks like this &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000WtpIxAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131933iDCA0156B396061A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000WtpIxAAJ.png" alt="0695b00000WtpIxAAJ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any suggestions how to implement it in Talend?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:31:44 GMT</pubDate>
    <dc:creator>Soumya_M</dc:creator>
    <dc:date>2024-11-15T22:31:44Z</dc:date>
    <item>
      <title>window function in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/window-function-in-talend/m-p/2324103#M93852</link>
      <description>&lt;P&gt;Q. I have a table with 2 columns -A_number and B_number. For every A_number I need to get the count of unique B_number associated with it and also in the third column count of &amp;nbsp;unique numbers should be displayed. I achieved this in SQL using window function count, for the count column. But I'm finding it difficult to implement this in Talend.&lt;/P&gt;&lt;P&gt;SQL resultant table looks like this &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000WtpIxAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131933iDCA0156B396061A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000WtpIxAAJ.png" alt="0695b00000WtpIxAAJ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any suggestions how to implement it in Talend?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/window-function-in-talend/m-p/2324103#M93852</guid>
      <dc:creator>Soumya_M</dc:creator>
      <dc:date>2024-11-15T22:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: window function in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/window-function-in-talend/m-p/2324104#M93853</link>
      <description>&lt;P&gt;You can use those SQL functions in your query bringing in the data if you wish.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A slightly more complicated way of doing it is to use a tSortRow component to sort by columns A and then B, then look for changes between the rows in a tMap. Whenever a row is matched with the previous row for column A, column B will be counted if it is different to the previous column B value. By sorting in this way, you will only need to read the complete data set once&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 02:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/window-function-in-talend/m-p/2324104#M93853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-27T02:19:11Z</dc:date>
    </item>
  </channel>
</rss>

