<?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 Re: Combine two Row's into one Column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Combine-two-Row-s-into-one-Column/m-p/2372378#M135225</link>
    <description>Hi,
&lt;BR /&gt;You can think of using tMemorizeRows component....
&lt;BR /&gt;Check if this approach suits you.
&lt;BR /&gt;
&lt;A href="https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en&lt;/A&gt;
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
    <pubDate>Fri, 06 Jun 2014 13:08:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-06T13:08:25Z</dc:date>
    <item>
      <title>Combine two Row's into one Column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Combine-two-Row-s-into-one-Column/m-p/2372377#M135224</link>
      <description>Hello everybody, 
&lt;BR /&gt;i know that the subject is not well chosen, but I have problems to describe my problem in one sentence. First of all I attached an overview over my job (Talend Open Studio for DI 5.3.1). 
&lt;BR /&gt; 
&lt;U&gt;Quick description of the steps:&lt;/U&gt; 
&lt;BR /&gt;tSOAP_1 -&amp;gt; Connect to a SOAP webservice (Output as Document) 
&lt;BR /&gt;t_ExtractXMLField_2 -&amp;gt; Extract IDs from response 
&lt;BR /&gt;tSOAP_3 -&amp;gt; Load data (dependent from the IDs) from a SOAP webservice (Output as Document) 
&lt;BR /&gt;tExtractXMLField_6 -&amp;gt; Extract some information from the from teh response 
&lt;BR /&gt;tExtractXMLField_3 -&amp;gt; From the previous step one "Document" was outputed so I extract information from that 
&lt;BR /&gt;tJavaRow_1 -&amp;gt; Now I collect all data from previous 
&lt;BR /&gt; 
&lt;BR /&gt;As you can see in attachment "hc_003.png" the step 'tExtractXMLField_6' output a variable with name 'Answers' (type=Document) from which I extraxt in 'tExtractXMLField_3' some information. The content of 'Answers' looks like: 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;Answers&amp;gt;&lt;BR /&gt;	&amp;lt;Answer&amp;gt;&lt;BR /&gt;		&amp;lt;AnswerId&amp;gt;4711&amp;lt;/AnswerId&amp;gt;&lt;BR /&gt;		&amp;lt;QNr&amp;gt;1&amp;lt;/QNr&amp;gt;&lt;BR /&gt;		&amp;lt;QId&amp;gt;1234567&amp;lt;/QId&amp;gt;&lt;BR /&gt;		&amp;lt;QText&amp;gt;Some question text&amp;lt;/QText&amp;gt;&lt;BR /&gt;		&amp;lt;QMechanism&amp;gt;1&amp;lt;/QMechanism&amp;gt;&lt;BR /&gt;		&amp;lt;QMText&amp;gt;&amp;lt;/QMText&amp;gt;&lt;BR /&gt;		&amp;lt;QType&amp;gt;WRadio&amp;lt;/QType&amp;gt;&lt;BR /&gt;		&amp;lt;AValue&amp;gt;6&amp;lt;/AValue&amp;gt;&lt;BR /&gt;		&amp;lt;AText&amp;gt;5&amp;lt;/AText&amp;gt;&lt;BR /&gt;		&amp;lt;AWeight&amp;gt;5&amp;lt;/AWeight&amp;gt;&lt;BR /&gt;	&amp;lt;/Answer&amp;gt;&lt;BR /&gt;	&amp;lt;Answer&amp;gt;&lt;BR /&gt;		&amp;lt;AnswerId&amp;gt;4712&amp;lt;/AnswerId&amp;gt;&lt;BR /&gt;		&amp;lt;QNr&amp;gt;2&amp;lt;/QNr&amp;gt;&lt;BR /&gt;		&amp;lt;QId&amp;gt;8901234&amp;lt;/QId&amp;gt;&lt;BR /&gt;		&amp;lt;QText&amp;gt;No 2 question&amp;lt;/QText&amp;gt;&lt;BR /&gt;		&amp;lt;QMechanism&amp;gt;1&amp;lt;/QMechanism&amp;gt;&lt;BR /&gt;		&amp;lt;QMText&amp;gt;&amp;lt;/QMText&amp;gt;&lt;BR /&gt;		&amp;lt;QType&amp;gt;Text&amp;lt;/QType&amp;gt;&lt;BR /&gt;		&amp;lt;AValue&amp;gt;The answer&amp;lt;/AValue&amp;gt;&lt;BR /&gt;		&amp;lt;AText&amp;gt;The answer&amp;lt;/AText&amp;gt;&lt;BR /&gt;		&amp;lt;AWeight&amp;gt;&amp;lt;/AWeight&amp;gt;&lt;BR /&gt;	&amp;lt;/Answer&amp;gt;&lt;BR /&gt;&amp;lt;/Answers&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;So my 'tExtractXMLField_3' give 'tJavaRow_1' two rows. 
&lt;BR /&gt; 
&lt;BR /&gt;What I need is, that this two rows (&amp;lt;Answer&amp;gt;) are combined into on row. 
&lt;BR /&gt;Somethink like this: 
&lt;BR /&gt; 
&lt;PRE&gt;AnswerId-1: 4711&lt;BR /&gt;AnswerId-2: 4712&lt;BR /&gt;QText-1: Some question text&lt;BR /&gt;QText-2: No 2 question&lt;BR /&gt;AText-1: 5&lt;BR /&gt;AText-2: The answer&lt;BR /&gt;...&lt;/PRE&gt; 
&lt;BR /&gt;So I have finally one row with all &amp;lt;Answer&amp;gt; objects. 
&lt;BR /&gt;Note that the 'tSOAP_3' returned multiple rows ( 
&lt;B&gt;each row should be one row in the result&lt;/B&gt;). 
&lt;B&gt;Each row has multiple "&amp;lt;Answer&amp;gt;" which should be in one row.&lt;/B&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Unfortunately I have no idea which componet can do this. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Hope someone have a usefull hint for me. 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks a lot and greetings from Germany 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDZB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153779i3ABF398BC37B1882/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDZB.png" alt="0683p000009MDZB.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MELs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143579i2E9D3B3CE635C485/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MELs.png" alt="0683p000009MELs.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEHE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135351iE1691B16B67B8836/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEHE.png" alt="0683p000009MEHE.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MELx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129909i2AB6488A4481116D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MELx.png" alt="0683p000009MELx.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 06 Jun 2014 12:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Combine-two-Row-s-into-one-Column/m-p/2372377#M135224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-06T12:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two Row's into one Column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Combine-two-Row-s-into-one-Column/m-p/2372378#M135225</link>
      <description>Hi,
&lt;BR /&gt;You can think of using tMemorizeRows component....
&lt;BR /&gt;Check if this approach suits you.
&lt;BR /&gt;
&lt;A href="https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en&lt;/A&gt;
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Fri, 06 Jun 2014 13:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Combine-two-Row-s-into-one-Column/m-p/2372378#M135225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-06T13:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two Row's into one Column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Combine-two-Row-s-into-one-Column/m-p/2372379#M135226</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi,&lt;BR /&gt;You can think of using tMemorizeRows component....&lt;BR /&gt;Check if this approach suits you.&lt;BR /&gt;&lt;A href="https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en&lt;/A&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vaibhav&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Thanks for this hint, i will check this out and give you a feedback.</description>
      <pubDate>Fri, 06 Jun 2014 13:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Combine-two-Row-s-into-one-Column/m-p/2372379#M135226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-06T13:20:14Z</dc:date>
    </item>
  </channel>
</rss>

