<?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: Map values from single column to multiple columns where column name is in the same cell as the value (see screenshots) in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Map-values-from-single-column-to-multiple-columns-where-column/m-p/2273471#M2875</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;with this type of question - you never will have final advice. Too many IF, and too many behind the scene &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;but some ideas, please find below.&lt;/P&gt; 
&lt;P&gt;Idea based on provided by you data, which:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;have implicit groups of rows&lt;/LI&gt; 
 &lt;LI&gt;have standard separator between groups&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;in this case you could use next components:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pivot.PNG" style="width: 838px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17394i6E43C67A93614DA7/image-size/large?v=1.0&amp;amp;px=999" title="Pivot.PNG" alt="Pivot.PNG" /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFixedFlowInput - you could replace to your own input component, with a single column in the schema&amp;nbsp;(in my example it named "data")&lt;/P&gt; 
&lt;P&gt;tJavaFlex - assign group number based on default&amp;nbsp;separator "--------"&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tJavaFlex.PNG" style="width: 999px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17395i3CFE252C3F6D6234/image-size/large?v=1.0&amp;amp;px=999" title="tJavaFlex.PNG" alt="tJavaFlex.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFilterRow - reject empty and separator rows from the flow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tExtractDelimitedFields - split column data into 2 columns by separator&lt;/P&gt; 
&lt;P&gt;and finally,&amp;nbsp; tPivotToColumnDelimited transform output result&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pivot_csv.PNG" style="width: 991px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17396i5088D323AD75E07D/image-size/large?v=1.0&amp;amp;px=999" title="pivot_csv.PNG" alt="pivot_csv.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;output result:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="result.PNG" style="width: 316px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17397i81F81D9E2C2422CD/image-size/large?v=1.0&amp;amp;px=999" title="result.PNG" alt="result.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;you could addition clean/remove column grp from output file&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;one more time - it is just an idea, final job will always depend from you real data and other restrictions&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2019 00:24:28 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2019-03-19T00:24:28Z</dc:date>
    <item>
      <title>Map values from single column to multiple columns where column name is in the same cell as the value (see screenshots)</title>
      <link>https://community.qlik.com/t5/Data-Quality/Map-values-from-single-column-to-multiple-columns-where-column/m-p/2273470#M2874</link>
      <description>&lt;P&gt;I have a spreadsheet that is only one column. Each row has the name of a field and a value. I need to get each set of rows, which has a variable number per set, into a single row. Any ideas how I can accomplish this?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spreadsheet.PNG" style="width: 299px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17390iC89C674AFB987989/image-size/large?v=1.0&amp;amp;px=999" title="spreadsheet.PNG" alt="spreadsheet.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It should come out like this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spreadsheet2.PNG" style="width: 593px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17391i92AE4F971C53B5AA/image-size/large?v=1.0&amp;amp;px=999" title="spreadsheet2.PNG" alt="spreadsheet2.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Map-values-from-single-column-to-multiple-columns-where-column/m-p/2273470#M2874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Map values from single column to multiple columns where column name is in the same cell as the value (see screenshots)</title>
      <link>https://community.qlik.com/t5/Data-Quality/Map-values-from-single-column-to-multiple-columns-where-column/m-p/2273471#M2875</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;with this type of question - you never will have final advice. Too many IF, and too many behind the scene &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;but some ideas, please find below.&lt;/P&gt; 
&lt;P&gt;Idea based on provided by you data, which:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;have implicit groups of rows&lt;/LI&gt; 
 &lt;LI&gt;have standard separator between groups&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;in this case you could use next components:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pivot.PNG" style="width: 838px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17394i6E43C67A93614DA7/image-size/large?v=1.0&amp;amp;px=999" title="Pivot.PNG" alt="Pivot.PNG" /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFixedFlowInput - you could replace to your own input component, with a single column in the schema&amp;nbsp;(in my example it named "data")&lt;/P&gt; 
&lt;P&gt;tJavaFlex - assign group number based on default&amp;nbsp;separator "--------"&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tJavaFlex.PNG" style="width: 999px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17395i3CFE252C3F6D6234/image-size/large?v=1.0&amp;amp;px=999" title="tJavaFlex.PNG" alt="tJavaFlex.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFilterRow - reject empty and separator rows from the flow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tExtractDelimitedFields - split column data into 2 columns by separator&lt;/P&gt; 
&lt;P&gt;and finally,&amp;nbsp; tPivotToColumnDelimited transform output result&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pivot_csv.PNG" style="width: 991px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17396i5088D323AD75E07D/image-size/large?v=1.0&amp;amp;px=999" title="pivot_csv.PNG" alt="pivot_csv.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;output result:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="result.PNG" style="width: 316px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17397i81F81D9E2C2422CD/image-size/large?v=1.0&amp;amp;px=999" title="result.PNG" alt="result.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;you could addition clean/remove column grp from output file&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;one more time - it is just an idea, final job will always depend from you real data and other restrictions&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 00:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Map-values-from-single-column-to-multiple-columns-where-column/m-p/2273471#M2875</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-03-19T00:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Map values from single column to multiple columns where column name is in the same cell as the value (see screenshots)</title>
      <link>https://community.qlik.com/t5/Data-Quality/Map-values-from-single-column-to-multiple-columns-where-column/m-p/2273472#M2876</link>
      <description>&lt;P&gt;There is a workaround , but it is by converting your file to&amp;nbsp; LDIF file .&lt;/P&gt; 
&lt;P&gt;you need read your excel and convert it like this ( &lt;STRONG&gt;dn&lt;/STRONG&gt; : &lt;EM&gt;linenumber&lt;/EM&gt; with previous line blank is mandatory)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;dn:1&lt;BR /&gt;Field1:1&lt;BR /&gt;Field2:2&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;dn:2&lt;BR /&gt;Field1:3&lt;BR /&gt;Field2:4&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;dn:3&lt;BR /&gt;Field1:4&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;the use tFileInputLdif and tlogrow row. Output will be like this&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/eRexaC1aghU1uSFx2gLqMQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/eRexaC1aghU1uSFx2gLqMQ&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TalendImage.JPG" style="width: 190px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/17418iB034EDCBDDAE24EF/image-size/large?v=1.0&amp;amp;px=999" title="TalendImage.JPG" alt="TalendImage.JPG" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 10:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Map-values-from-single-column-to-multiple-columns-where-column/m-p/2273472#M2876</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-19T10:34:47Z</dc:date>
    </item>
  </channel>
</rss>

