<?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 Dynamic column generation in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-column-generation/m-p/2250864#M34996</link>
    <description>&lt;OL&gt;&lt;LI&gt;Implement the job to achieve below logic. If age_group is added newly in input file then that should be automatically handled in the output with respective Boolean values – Put 1 if the person belongs to that age group and put 0 if he doesn’t belong to that age group (Dynamic column generation)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Input:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt; &lt;STRONG&gt;&amp;nbsp;age_group(in yrs)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Aa &amp;nbsp;10-20&lt;/P&gt;&lt;P&gt;Bb &amp;nbsp;50-60&lt;/P&gt;&lt;P&gt;Cc &amp;nbsp;20-30&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt; &lt;STRONG&gt;10-20&lt;/STRONG&gt; &lt;STRONG&gt;20-30&lt;/STRONG&gt; &lt;STRONG&gt;30-40&lt;/STRONG&gt; &lt;STRONG&gt;50-60&lt;/STRONG&gt; &lt;STRONG&gt;60-70&lt;/STRONG&gt; &lt;STRONG&gt;70-80&lt;/STRONG&gt; &lt;STRONG&gt;80-90&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Aa 1 0 0 0 0 0 0&lt;/P&gt;&lt;P&gt;Bb 0 0 0 1 0 0 0&lt;/P&gt;&lt;P&gt;Cc 0 1 0 0 0 0 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 12:56:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-12T12:56:41Z</dc:date>
    <item>
      <title>Dynamic column generation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-column-generation/m-p/2250864#M34996</link>
      <description>&lt;OL&gt;&lt;LI&gt;Implement the job to achieve below logic. If age_group is added newly in input file then that should be automatically handled in the output with respective Boolean values – Put 1 if the person belongs to that age group and put 0 if he doesn’t belong to that age group (Dynamic column generation)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Input:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt; &lt;STRONG&gt;&amp;nbsp;age_group(in yrs)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Aa &amp;nbsp;10-20&lt;/P&gt;&lt;P&gt;Bb &amp;nbsp;50-60&lt;/P&gt;&lt;P&gt;Cc &amp;nbsp;20-30&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt; &lt;STRONG&gt;10-20&lt;/STRONG&gt; &lt;STRONG&gt;20-30&lt;/STRONG&gt; &lt;STRONG&gt;30-40&lt;/STRONG&gt; &lt;STRONG&gt;50-60&lt;/STRONG&gt; &lt;STRONG&gt;60-70&lt;/STRONG&gt; &lt;STRONG&gt;70-80&lt;/STRONG&gt; &lt;STRONG&gt;80-90&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Aa 1 0 0 0 0 0 0&lt;/P&gt;&lt;P&gt;Bb 0 0 0 1 0 0 0&lt;/P&gt;&lt;P&gt;Cc 0 1 0 0 0 0 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 12:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-column-generation/m-p/2250864#M34996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-12T12:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column generation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-column-generation/m-p/2250865#M34997</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Since your output groups are pretty static (7 groups), you can add if else condition to check whether the incoming data is matching to the expected value for that group. If its matching, you can assign 1 else 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 05:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-column-generation/m-p/2250865#M34997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-14T05:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column generation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-column-generation/m-p/2250866#M34998</link>
      <description>Also if it is age group , you know the oldest person in world &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;. And then you know maximum possible column .</description>
      <pubDate>Thu, 14 Nov 2019 20:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-column-generation/m-p/2250866#M34998</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-11-14T20:06:42Z</dc:date>
    </item>
  </channel>
</rss>

