<?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 Field (Column) based on | delimiter into multiple columns (variable number) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-Field-Column-based-on-delimiter-into-multiple-columns/m-p/29529#M791223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I have is that I am loading .csv from AWS and want to split out a field where the the number of columns produced is variable and the delimter is |. The variablity is from not needing a split to having 20 new columns split out. The data is a database of web behavior and visit dates, pages visited, etc. The data is grouped per user within one field. For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Anonymous Unique ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Pages Visited&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sources&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;aD56-9045id-a4nj&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.example.com|www.example.com/page1|www.example.com/page2" target="_blank"&gt;www.example.com|www.example.com/page1|www.example.com/page2&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Google|Facebook|Email&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;dRTY-8778id-b3hk&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.example.com|www.example.com/page4|www.example.com/page3|www.example.com" target="_blank"&gt;www.example.com|www.example.com/page4|www.example.com/page3|www.example.com&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Email|Google&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;l0rd-3423id-kl21&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.example.com|www.example.com/page5" target="_blank"&gt;www.example.com|www.example.com/page5&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Email&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;f@rt-3782id-nn2w&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.example.com" target="_blank"&gt;www.example.com&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Email&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to split the Page Visted and dates visited so into columns so they remain as a data point associated to the ID. I have looked on the forums and I know that some of the answers are out there, but I am completely new and I have no idea how to take the scripts I have seen (for example subfield) and translate to work for my example. The more detailed the answer the better. I learn fast with a couple good examples. Thank you for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Split Field (Column) based on | delimiter into multiple columns (variable number)</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Field-Column-based-on-delimiter-into-multiple-columns/m-p/29529#M791223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I have is that I am loading .csv from AWS and want to split out a field where the the number of columns produced is variable and the delimter is |. The variablity is from not needing a split to having 20 new columns split out. The data is a database of web behavior and visit dates, pages visited, etc. The data is grouped per user within one field. For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Anonymous Unique ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Pages Visited&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sources&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;aD56-9045id-a4nj&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.example.com|www.example.com/page1|www.example.com/page2" target="_blank"&gt;www.example.com|www.example.com/page1|www.example.com/page2&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Google|Facebook|Email&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;dRTY-8778id-b3hk&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.example.com|www.example.com/page4|www.example.com/page3|www.example.com" target="_blank"&gt;www.example.com|www.example.com/page4|www.example.com/page3|www.example.com&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Email|Google&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;l0rd-3423id-kl21&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.example.com|www.example.com/page5" target="_blank"&gt;www.example.com|www.example.com/page5&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Email&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;f@rt-3782id-nn2w&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.example.com" target="_blank"&gt;www.example.com&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Email&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to split the Page Visted and dates visited so into columns so they remain as a data point associated to the ID. I have looked on the forums and I know that some of the answers are out there, but I am completely new and I have no idea how to take the scripts I have seen (for example subfield) and translate to work for my example. The more detailed the answer the better. I learn fast with a couple good examples. Thank you for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Field-Column-based-on-delimiter-into-multiple-columns/m-p/29529#M791223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Split Field (Column) based on | delimiter into multiple columns (variable number)</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Field-Column-based-on-delimiter-into-multiple-columns/m-p/29530#M791224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first row from your data have 3 pages visited, but only 2 dates... how do you know which page was visited on what date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 17:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Field-Column-based-on-delimiter-into-multiple-columns/m-p/29530#M791224</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-31T17:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Split Field (Column) based on | delimiter into multiple columns (variable number)</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Field-Column-based-on-delimiter-into-multiple-columns/m-p/29531#M791225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Anonymous Unique ID],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Pages Visited],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;SubField([Sources], '|') as [Sources]&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Anonymous Unique ID],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;SubField([Pages Visited], '|') as [Pages Visited],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sources;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Anonymous Unique ID, Pages Visited, Sources&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aD56-9045id-a4nj, www.example.com|www.example.com/page1|www.example.com/page2, Google|Facebook|Email&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dRTY-8778id-b3hk, www.example.com|www.example.com/page4|www.example.com/page3|www.example.com, Email|Google&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l0rd-3423id-kl21, www.example.com|www.example.com/page5, Email&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f@rt-3782id-nn2w, www.example.com, Email&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 17:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Field-Column-based-on-delimiter-into-multiple-columns/m-p/29531#M791225</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-31T17:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Split Field (Column) based on | delimiter into multiple columns (variable number)</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Field-Column-based-on-delimiter-into-multiple-columns/m-p/2058645#M1223208</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;
&lt;P&gt;can u pls explain how this works with preceeding load. I am not able to get its working.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 10:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Field-Column-based-on-delimiter-into-multiple-columns/m-p/2058645#M1223208</guid>
      <dc:creator>anu</dc:creator>
      <dc:date>2023-04-10T10:09:03Z</dc:date>
    </item>
  </channel>
</rss>

