<?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 Split single row with multiple line into different columns in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530311#M8237</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;I have source data which Excel&amp;nbsp; spreadsheet , there are some records which have multiple entries. So I am trying to split the records into multiple columns so that I can use them in my expression calculations. So when I import them into QlikView, its just one line.&lt;/P&gt;&lt;P&gt;I have highlighted these records in yellow in the attached.&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jan 2019 09:10:51 GMT</pubDate>
    <dc:creator>zwyne</dc:creator>
    <dc:date>2019-01-15T09:10:51Z</dc:date>
    <item>
      <title>Split single row with multiple line into different columns</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530311#M8237</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;I have source data which Excel&amp;nbsp; spreadsheet , there are some records which have multiple entries. So I am trying to split the records into multiple columns so that I can use them in my expression calculations. So when I import them into QlikView, its just one line.&lt;/P&gt;&lt;P&gt;I have highlighted these records in yellow in the attached.&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 09:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530311#M8237</guid>
      <dc:creator>zwyne</dc:creator>
      <dc:date>2019-01-15T09:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Split single row with multiple line into different columns</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530330#M8238</link>
      <description>Hi Zwyne,&lt;BR /&gt;Do you want to split the records to multiple columns? or multiple rows?&lt;BR /&gt;if columns, what's the column name for every value?&lt;BR /&gt;if rows, I think you can use the subfield() function, but you need to make the rules,like&lt;BR /&gt;for column C, the rule may be Line Feed&lt;BR /&gt;for column D, the rule may be "and"&lt;BR /&gt;for column E, the rule may be ","&lt;BR /&gt;Aiolos Zhao</description>
      <pubDate>Tue, 15 Jan 2019 09:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530330#M8238</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2019-01-15T09:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Split single row with multiple line into different columns</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530332#M8239</link>
      <description>&lt;P&gt;I suggest that you also post the required data format - its not that clear from your description or your sample.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 09:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530332#M8239</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-01-15T09:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Split single row with multiple line into different columns</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530436#M8242</link>
      <description>&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3763i9FCF039121F16162/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Table:
LOAD [MI ID], 
     [Business Area], 
     [Impacted Business/Function], 
     Trim(SubField([Responsible Business/Function], ' and ')) as [Responsible Business/Function],
     Country;
LOAD [MI ID], 
     [Business Area], 
     [Impacted Business/Function], 
     Trim(SubField([Responsible Business/Function], Chr(10))) as [Responsible Business/Function],
     Country;
LOAD *
Where Len(Trim([Impacted Business/Function])) &amp;gt; 0;
LOAD [MI ID], 
     [Business Area], 
     Trim(SubField([Impacted Business/Function], '  ')) as [Impacted Business/Function],
//     [Impacted Business/Function],
     [Responsible Business/Function], 
     Country;
LOAD *
Where Len(Trim(Country)) &amp;gt; 0;
LOAD [MI ID], 
     [Business Area], 
     [Impacted Business/Function], 
     [Responsible Business/
Function] as [Responsible Business/Function], 
     Trim(SubField(Country, ',')) as Country
FROM
[..\..\Downloads\Sample.xlsx]
(ooxml, embedded labels, table is Issues);&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jan 2019 12:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530436#M8242</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-15T12:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Split single row with multiple line into different columns</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530474#M8246</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I actually wanted single row and create different columns for example&lt;/P&gt;&lt;P&gt;Responsible Business/Function_1,Responsible Business/Function_2 and so on&lt;/P&gt;&lt;P&gt;Similarly for the other columns&lt;/P&gt;&lt;P&gt;Impacted Business/Function_1,....&lt;/P&gt;&lt;P&gt;Country_1,2..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 13:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Split-single-row-with-multiple-line-into-different-columns/m-p/1530474#M8246</guid>
      <dc:creator>zwyne</dc:creator>
      <dc:date>2019-01-15T13:30:03Z</dc:date>
    </item>
  </channel>
</rss>

