<?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 string field into table rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-string-field-into-table-rows/m-p/1804368#M1211968</link>
    <description>&lt;P&gt;Hiya,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set that has about 40 columns and one of those has 'Enquiry Numbers' which can hold 1-x amount of numbers, which I would like to split out, for example:&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;ID | Enquiry Number&lt;/P&gt;&lt;P&gt;123 | 15, 25, 68, 52&lt;/P&gt;&lt;P&gt;124 | 2, 98, 34, 76&lt;/P&gt;&lt;P&gt;126 | 18, 24, 88, 92, 48&lt;/P&gt;&lt;P&gt;127 | 5&lt;/P&gt;&lt;P&gt;128 | 92, 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so on and so forth, what I would like to is split each Enquiry and have it pull in all the table data for that ID but only one of the Enquiry Numbers.&lt;/P&gt;&lt;P&gt;I've found this post with an answer: &lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Split-string-field-into-table-rows/td-p/289591" target="_blank" rel="noopener"&gt;Suggested Solution&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the answer shows that you need to repeat the solution for each part of the field that needs splitting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can have any number of Enquiry Numbers in this field, so don't want to have to repeat the process 50 times just to capture them all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better way?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Sat, 01 May 2021 13:03:16 GMT</pubDate>
    <dc:creator>NemoAndStitch22</dc:creator>
    <dc:date>2021-05-01T13:03:16Z</dc:date>
    <item>
      <title>Split string field into table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-field-into-table-rows/m-p/1804368#M1211968</link>
      <description>&lt;P&gt;Hiya,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set that has about 40 columns and one of those has 'Enquiry Numbers' which can hold 1-x amount of numbers, which I would like to split out, for example:&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;ID | Enquiry Number&lt;/P&gt;&lt;P&gt;123 | 15, 25, 68, 52&lt;/P&gt;&lt;P&gt;124 | 2, 98, 34, 76&lt;/P&gt;&lt;P&gt;126 | 18, 24, 88, 92, 48&lt;/P&gt;&lt;P&gt;127 | 5&lt;/P&gt;&lt;P&gt;128 | 92, 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so on and so forth, what I would like to is split each Enquiry and have it pull in all the table data for that ID but only one of the Enquiry Numbers.&lt;/P&gt;&lt;P&gt;I've found this post with an answer: &lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Split-string-field-into-table-rows/td-p/289591" target="_blank" rel="noopener"&gt;Suggested Solution&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the answer shows that you need to repeat the solution for each part of the field that needs splitting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can have any number of Enquiry Numbers in this field, so don't want to have to repeat the process 50 times just to capture them all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better way?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 13:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-field-into-table-rows/m-p/1804368#M1211968</guid>
      <dc:creator>NemoAndStitch22</dc:creator>
      <dc:date>2021-05-01T13:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Split string field into table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-field-into-table-rows/m-p/1804369#M1211969</link>
      <description>&lt;P&gt;I think the best way to create multiple rows out of one field is subfield function. In the script if we use something like subfield([&lt;SPAN&gt;Enquiry Number&lt;/SPAN&gt;],','), It should create multiple row dynamically for each value separate by comma.&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 13:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-field-into-table-rows/m-p/1804369#M1211969</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2021-05-01T13:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Split string field into table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-field-into-table-rows/m-p/1804374#M1211971</link>
      <description>&lt;P&gt;Omg, perfect! That has worked perfectly thank you so much!!!&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 14:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-field-into-table-rows/m-p/1804374#M1211971</guid>
      <dc:creator>NemoAndStitch22</dc:creator>
      <dc:date>2021-05-01T14:39:23Z</dc:date>
    </item>
  </channel>
</rss>

