<?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 Merging data with rules. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Merging-data-with-rules/m-p/2265321#M44889</link>
    <description>&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to merge data from multiple sources with intention to create one 'golden record'.&lt;/P&gt;
&lt;P&gt;I'm looking for some advice how to achive workflow solution that will automatically select and pass fields based on rules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example data to merge:&lt;/P&gt;
&lt;P&gt;Data Source: 01.xml&lt;/P&gt;
&lt;P&gt;Node ID: 001&lt;/P&gt;
&lt;P&gt;Node Description: Lorem ipsum dolor sit amet&lt;/P&gt;
&lt;P&gt;Node Photos: 001.jpg, 002.jpg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data Source: 02.xml&lt;/P&gt;
&lt;P&gt;Node ID: 001&lt;/P&gt;
&lt;P&gt;Node Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit&lt;/P&gt;
&lt;P&gt;Node Photos: abc.jpg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rule for Node Description field: select longest string&lt;/P&gt;
&lt;P&gt;Rule for Node Photos: select source with more values (photos)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So after all my 'golden record' should be:&lt;/P&gt;
&lt;P&gt;Node ID: 001&lt;/P&gt;
&lt;P&gt;Node Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit&lt;/P&gt;
&lt;P&gt;Node Photos: 001.jpg, 002.jpg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm on Open Studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:27:04 GMT</pubDate>
    <dc:creator>bk2</dc:creator>
    <dc:date>2024-11-16T07:27:04Z</dc:date>
    <item>
      <title>Merging data with rules.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Merging-data-with-rules/m-p/2265321#M44889</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to merge data from multiple sources with intention to create one 'golden record'.&lt;/P&gt;
&lt;P&gt;I'm looking for some advice how to achive workflow solution that will automatically select and pass fields based on rules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example data to merge:&lt;/P&gt;
&lt;P&gt;Data Source: 01.xml&lt;/P&gt;
&lt;P&gt;Node ID: 001&lt;/P&gt;
&lt;P&gt;Node Description: Lorem ipsum dolor sit amet&lt;/P&gt;
&lt;P&gt;Node Photos: 001.jpg, 002.jpg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data Source: 02.xml&lt;/P&gt;
&lt;P&gt;Node ID: 001&lt;/P&gt;
&lt;P&gt;Node Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit&lt;/P&gt;
&lt;P&gt;Node Photos: abc.jpg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rule for Node Description field: select longest string&lt;/P&gt;
&lt;P&gt;Rule for Node Photos: select source with more values (photos)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So after all my 'golden record' should be:&lt;/P&gt;
&lt;P&gt;Node ID: 001&lt;/P&gt;
&lt;P&gt;Node Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit&lt;/P&gt;
&lt;P&gt;Node Photos: 001.jpg, 002.jpg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm on Open Studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Merging-data-with-rules/m-p/2265321#M44889</guid>
      <dc:creator>bk2</dc:creator>
      <dc:date>2024-11-16T07:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Merging data with rules.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Merging-data-with-rules/m-p/2265322#M44890</link>
      <description>my question is how many rules and do they change?</description>
      <pubDate>Wed, 17 Oct 2018 09:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Merging-data-with-rules/m-p/2265322#M44890</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-10-17T09:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Merging data with rules.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Merging-data-with-rules/m-p/2265323#M44891</link>
      <description>you can do it with tmap.&lt;BR /&gt;first select all possible ids&lt;BR /&gt;then use ids as main input with lookup on sources.&lt;BR /&gt;add var values for calculation and use inline if (condition)?true:false into output.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2018 09:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Merging-data-with-rules/m-p/2265323#M44891</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-10-17T09:52:55Z</dc:date>
    </item>
  </channel>
</rss>

