<?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 Adding numeric value for same business key from source in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Adding-numeric-value-for-same-business-key-from-source/m-p/2350107#M116990</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a scenario to create a talend job as below:&lt;/P&gt;&lt;P&gt;From source I am getting multiple numeric value (hours) for same business key in one flow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to compare with existing data and add all values present for that key.&lt;/P&gt;&lt;P&gt;In output for numeric hour value, I want to add all hours for same business key and other column needs to be of the latest data which can be checked from last_update_date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input 1:(pk: id,name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id;name;hours;dept;last_update_date&lt;/P&gt;&lt;P&gt;1;johnny;6.5;AI;05-03-2021&lt;/P&gt;&lt;P&gt;1;johnny;-6;ML;04-03-2021&lt;/P&gt;&lt;P&gt;1;johnny;7;CE;03-03-2021&lt;/P&gt;&lt;P&gt;2;mehuli;7;AI;03-03-2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input 2:(pk: id,name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id;name;hours&lt;/P&gt;&lt;P&gt;1;johnny;1.5;CE;02-03-2021&lt;/P&gt;&lt;P&gt;2;mehuli;5;ML;02-03-2021&lt;/P&gt;&lt;P&gt;3;antony;18;CE;02-03-2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;id;name;hours;dept;last_update_date&lt;/P&gt;&lt;P&gt;1;johnny;9;AI;05-03-2021 -- as (6.5+(-6)+7+1.5)=9&lt;/P&gt;&lt;P&gt;2;mehuli;12;AI;03-03-2021 -- as (7+5)=12&lt;/P&gt;&lt;P&gt;3;antony;18;CE;02-03-2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 13:13:04 GMT</pubDate>
    <dc:creator>Jazz_shomp</dc:creator>
    <dc:date>2021-06-21T13:13:04Z</dc:date>
    <item>
      <title>Adding numeric value for same business key from source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Adding-numeric-value-for-same-business-key-from-source/m-p/2350107#M116990</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a scenario to create a talend job as below:&lt;/P&gt;&lt;P&gt;From source I am getting multiple numeric value (hours) for same business key in one flow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to compare with existing data and add all values present for that key.&lt;/P&gt;&lt;P&gt;In output for numeric hour value, I want to add all hours for same business key and other column needs to be of the latest data which can be checked from last_update_date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input 1:(pk: id,name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id;name;hours;dept;last_update_date&lt;/P&gt;&lt;P&gt;1;johnny;6.5;AI;05-03-2021&lt;/P&gt;&lt;P&gt;1;johnny;-6;ML;04-03-2021&lt;/P&gt;&lt;P&gt;1;johnny;7;CE;03-03-2021&lt;/P&gt;&lt;P&gt;2;mehuli;7;AI;03-03-2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input 2:(pk: id,name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id;name;hours&lt;/P&gt;&lt;P&gt;1;johnny;1.5;CE;02-03-2021&lt;/P&gt;&lt;P&gt;2;mehuli;5;ML;02-03-2021&lt;/P&gt;&lt;P&gt;3;antony;18;CE;02-03-2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;id;name;hours;dept;last_update_date&lt;/P&gt;&lt;P&gt;1;johnny;9;AI;05-03-2021 -- as (6.5+(-6)+7+1.5)=9&lt;/P&gt;&lt;P&gt;2;mehuli;12;AI;03-03-2021 -- as (7+5)=12&lt;/P&gt;&lt;P&gt;3;antony;18;CE;02-03-2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 13:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Adding-numeric-value-for-same-business-key-from-source/m-p/2350107#M116990</guid>
      <dc:creator>Jazz_shomp</dc:creator>
      <dc:date>2021-06-21T13:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding numeric value for same business key from source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Adding-numeric-value-for-same-business-key-from-source/m-p/2350108#M116991</link>
      <description>&lt;P&gt;@Jash tech​&amp;nbsp;, you do full outer join using tMaps and then use tAggregate component and do group by id and do sum on hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 14:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Adding-numeric-value-for-same-business-key-from-source/m-p/2350108#M116991</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2021-06-21T14:04:04Z</dc:date>
    </item>
  </channel>
</rss>

