<?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: Split a field into multiple rows with values from other fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-a-field-into-multiple-rows-with-values-from-other-fields/m-p/1595533#M443877</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much as this&amp;nbsp; works a treat!&amp;nbsp; I have tried it with my real data and get the desired results&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2019 10:00:39 GMT</pubDate>
    <dc:creator>helen_pip</dc:creator>
    <dc:date>2019-06-25T10:00:39Z</dc:date>
    <item>
      <title>Split a field into multiple rows with values from other fields</title>
      <link>https://community.qlik.com/t5/QlikView/Split-a-field-into-multiple-rows-with-values-from-other-fields/m-p/1595513#M443875</link>
      <description>&lt;P&gt;Dear Qlikview user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data structure issue which I am trying to resolve and was wondering if someone could kindly point me in the right direction&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table of data which looks as follows&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Session ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reason&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Patients&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;123456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;No Staff&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;123&lt;/P&gt;&lt;P&gt;What I hope to achieve from a table structured as follows is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Session ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reason&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Patients&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;123456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;No Staff&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;123456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;No Staff&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;123456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;No Staff&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/P&gt;&lt;P&gt;I have had a play with substring count but cannot seem to get the desired results....If you could kdinly offer any guidance that would be greatly appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 09:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-a-field-into-multiple-rows-with-values-from-other-fields/m-p/1595513#M443875</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2019-06-25T09:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Split a field into multiple rows with values from other fields</title>
      <link>https://community.qlik.com/t5/QlikView/Split-a-field-into-multiple-rows-with-values-from-other-fields/m-p/1595517#M443876</link>
      <description>&lt;P&gt;Is it so that the resultant Patients would always have single digit number? If so, try like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Load
	[Session ID],
	Reason,
	Mid(Patients, IterNo(),1) as Patients
While Len(Patients)&amp;gt;=IterNo();
	
Load * Inline [
Session ID, Reason, Patients
123456, No Staff, 123]&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 25 Jun 2019 09:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-a-field-into-multiple-rows-with-values-from-other-fields/m-p/1595517#M443876</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-06-25T09:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Split a field into multiple rows with values from other fields</title>
      <link>https://community.qlik.com/t5/QlikView/Split-a-field-into-multiple-rows-with-values-from-other-fields/m-p/1595533#M443877</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much as this&amp;nbsp; works a treat!&amp;nbsp; I have tried it with my real data and get the desired results&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 10:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-a-field-into-multiple-rows-with-values-from-other-fields/m-p/1595533#M443877</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2019-06-25T10:00:39Z</dc:date>
    </item>
  </channel>
</rss>

