<?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 How to split a file into header and details in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-split-a-file-into-header-and-details/m-p/2275252#M51681</link>
    <description>&lt;P&gt;I am working with a csv file that I would like to split into two tables of header and details. An Invoice would be a good example of this where there are multiple invoice headers and each invoice header has multiple line items. However, in the original source file the header information repeats for all of its lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Original File&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;Header_UniqueID&lt;/LI&gt;
 &lt;LI&gt;Header_SellerName&lt;/LI&gt;
 &lt;LI&gt;Header_BuyerName&lt;/LI&gt;
 &lt;LI&gt;Line_UniqueID&lt;/LI&gt;
 &lt;LI&gt;Line_Item&lt;/LI&gt;
 &lt;LI&gt;Line_QTY&lt;/LI&gt;
 &lt;LI&gt;Line_Price&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Output&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;STRONG&gt;Header Table&lt;/STRONG&gt;
  &lt;UL&gt;
   &lt;LI&gt;Header_UniqueID&lt;/LI&gt;
   &lt;LI&gt;Header_SellerName&lt;/LI&gt;
   &lt;LI&gt;Header_BuyerName&lt;/LI&gt;
  &lt;/UL&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Line Table&lt;/STRONG&gt;
  &lt;UL&gt;
   &lt;LI&gt;Line_UniqueID&lt;/LI&gt;
   &lt;LI&gt;Header_UniqueID (reference to record in the header table)&lt;/LI&gt;
   &lt;LI&gt;Line_Item&lt;/LI&gt;
   &lt;LI&gt;Line_QTY&lt;/LI&gt;
   &lt;LI&gt;Line_Price&lt;/LI&gt;
  &lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I've searched the other forum posts, but not finding what I was looking for, but maybe im not using the correct working in my searches. I've also looked at the tNormalize/Demormalize components, but I dont think that is what I need either.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2020 18:56:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-30T18:56:28Z</dc:date>
    <item>
      <title>How to split a file into header and details</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-split-a-file-into-header-and-details/m-p/2275252#M51681</link>
      <description>&lt;P&gt;I am working with a csv file that I would like to split into two tables of header and details. An Invoice would be a good example of this where there are multiple invoice headers and each invoice header has multiple line items. However, in the original source file the header information repeats for all of its lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Original File&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;Header_UniqueID&lt;/LI&gt;
 &lt;LI&gt;Header_SellerName&lt;/LI&gt;
 &lt;LI&gt;Header_BuyerName&lt;/LI&gt;
 &lt;LI&gt;Line_UniqueID&lt;/LI&gt;
 &lt;LI&gt;Line_Item&lt;/LI&gt;
 &lt;LI&gt;Line_QTY&lt;/LI&gt;
 &lt;LI&gt;Line_Price&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Output&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;STRONG&gt;Header Table&lt;/STRONG&gt;
  &lt;UL&gt;
   &lt;LI&gt;Header_UniqueID&lt;/LI&gt;
   &lt;LI&gt;Header_SellerName&lt;/LI&gt;
   &lt;LI&gt;Header_BuyerName&lt;/LI&gt;
  &lt;/UL&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Line Table&lt;/STRONG&gt;
  &lt;UL&gt;
   &lt;LI&gt;Line_UniqueID&lt;/LI&gt;
   &lt;LI&gt;Header_UniqueID (reference to record in the header table)&lt;/LI&gt;
   &lt;LI&gt;Line_Item&lt;/LI&gt;
   &lt;LI&gt;Line_QTY&lt;/LI&gt;
   &lt;LI&gt;Line_Price&lt;/LI&gt;
  &lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I've searched the other forum posts, but not finding what I was looking for, but maybe im not using the correct working in my searches. I've also looked at the tNormalize/Demormalize components, but I dont think that is what I need either.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 18:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-split-a-file-into-header-and-details/m-p/2275252#M51681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-30T18:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a file into header and details</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-split-a-file-into-header-and-details/m-p/2275253#M51682</link>
      <description>Use a tMap with 2 output flows, 1 for headers and 1 for lignes.&lt;BR /&gt;Connect 1rst output flow to a tUniqRow to eliminate duplicates, then to the desired output file or table.&lt;BR /&gt;Connect the 2nd output flow to the desired output file or table.</description>
      <pubDate>Mon, 30 Mar 2020 19:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-split-a-file-into-header-and-details/m-p/2275253#M51682</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-03-30T19:20:42Z</dc:date>
    </item>
  </channel>
</rss>

