<?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 Generate columns dynamically in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Generate-columns-dynamically/m-p/2292330#M65407</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I cannot find the answer to this problem so I am creating a new discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an input with 3 columns (&lt;B&gt;ID&lt;/B&gt;, &lt;B&gt;COL_A&lt;/B&gt;, &lt;B&gt;COL_B&lt;/B&gt;). The "ID" column is a group column. I want for each ID to have only one row, and to repeat the values of the 2 other columns on separate columns, as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009T94mAAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150628i50DA0BACED9E40A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009T94mAAC.png" alt="0693p000009T94mAAC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am using the Enterprise version so I have access to the Dynamic type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to get only one row for each ID with all the columns concatenated into one. But I cannot find a way to split them afterwards, as I do not know in advance how many columns I will need. So that is how far I got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009T922AAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132083iAAD06ED1254445C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009T922AAC.png" alt="0693p000009T922AAC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wanted to then split for each group separated by "|" and then by ";". I know how to split them using Java, but I do not know how to create dynamically columns for each value. Or maybe this is not the good way to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it is clear enough.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:27:59 GMT</pubDate>
    <dc:creator>gaston_guy</dc:creator>
    <dc:date>2024-11-16T01:27:59Z</dc:date>
    <item>
      <title>Generate columns dynamically</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-columns-dynamically/m-p/2292330#M65407</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I cannot find the answer to this problem so I am creating a new discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an input with 3 columns (&lt;B&gt;ID&lt;/B&gt;, &lt;B&gt;COL_A&lt;/B&gt;, &lt;B&gt;COL_B&lt;/B&gt;). The "ID" column is a group column. I want for each ID to have only one row, and to repeat the values of the 2 other columns on separate columns, as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009T94mAAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150628i50DA0BACED9E40A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009T94mAAC.png" alt="0693p000009T94mAAC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am using the Enterprise version so I have access to the Dynamic type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to get only one row for each ID with all the columns concatenated into one. But I cannot find a way to split them afterwards, as I do not know in advance how many columns I will need. So that is how far I got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009T922AAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132083iAAD06ED1254445C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009T922AAC.png" alt="0693p000009T922AAC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wanted to then split for each group separated by "|" and then by ";". I know how to split them using Java, but I do not know how to create dynamically columns for each value. Or maybe this is not the good way to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it is clear enough.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-columns-dynamically/m-p/2292330#M65407</guid>
      <dc:creator>gaston_guy</dc:creator>
      <dc:date>2024-11-16T01:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Generate columns dynamically</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-columns-dynamically/m-p/2292331#M65408</link>
      <description>&lt;P&gt;@Gaston GUY​&amp;nbsp;, you can read the columns and split by using tExtractDelimitedFields&amp;nbsp;component. Try and let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check the below link to know more about component.&lt;/P&gt;&lt;P&gt;https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/yWmtAqeqDVYIe4UsFaudAQ&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 09:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-columns-dynamically/m-p/2292331#M65408</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-09-15T09:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Generate columns dynamically</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-columns-dynamically/m-p/2292332#M65409</link>
      <description>&lt;P&gt;Thank you for your answer. However, as far I understand this component, we need to know in advance the number of destination columns. Which is not my case. I have to repeat the columns for every rows with the same ID.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 11:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-columns-dynamically/m-p/2292332#M65409</guid>
      <dc:creator>gaston_guy</dc:creator>
      <dc:date>2020-09-15T11:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generate columns dynamically</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-columns-dynamically/m-p/2292333#M65410</link>
      <description>&lt;P&gt;you could even do using tdenormalize component where the all the values of one id will be stored in single column as delimited, go through below link, but getting new columns dynamically is difficult here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/jd~4Ne~YP5faTRK~3QHWrA&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 10:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-columns-dynamically/m-p/2292333#M65410</guid>
      <dc:creator>vikramk</dc:creator>
      <dc:date>2020-09-17T10:32:57Z</dc:date>
    </item>
  </channel>
</rss>

