<?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: How to split one row into multiple rows based on column name? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134399#M20156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My understanding was like if you have more phases you need to add the script again and again using Concatenate. SO try below in your script where you have left and mid functions like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FinalTab:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Left(Phase, Index(Phase, ' '))&lt;/SPAN&gt; AS Cat,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Mid(Phase, Index(Phase, ' ')+1, Len(Phase)) &lt;/SPAN&gt;AS DateValues&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident CrxTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2018 20:36:19 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2018-09-17T20:36:19Z</dc:date>
    <item>
      <title>How to split one row into multiple rows based on column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134393#M20150</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;I have a sample data like below. I need to put it in a data structure where "start date" and "end date" is displayed per phase per row&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="49" style="width: 650px; height: 50.8px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none; text-align: left;" width="20"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;" width="77"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;A start date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;" width="73"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;A end date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;" width="76"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;B start date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;" width="72"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;B end date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;" width="76"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;C start date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;" width="72"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;C end date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/21/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/30/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;5/1/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/25/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/26/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/25/2021&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expected result is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="112" style="width: 296px; height: 112.38px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none; text-align: left;" width="20"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;" width="43"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Phase&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;" width="69"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Start Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;" width="69"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;End Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/21/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/30/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;5/1/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/25/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/26/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none; text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4/25/2021&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I use loading script to create my expected resulting table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 15:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134393#M20150</guid>
      <dc:creator>songzixian2016</dc:creator>
      <dc:date>2018-09-17T15:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one row into multiple rows based on column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134394#M20151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes you can with concatenate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;final_table:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;'A' as Phase,&lt;/P&gt;&lt;P&gt;[A start date] as [Start Date],&lt;/P&gt;&lt;P&gt;[A end date] as [End Date]&lt;/P&gt;&lt;P&gt;from your_table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'B' as Phase,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[B start date] as [Start Date],&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[B end date] as [End Date]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from your_table;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'C' as Phase,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[C start date] as [Start Date],&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[C end date] as [End Date]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from your_table;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;and maybe you can make a cycle load if you have D, E, F, G.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134394#M20151</guid>
      <dc:creator>captain89</dc:creator>
      <dc:date>2018-09-17T17:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one row into multiple rows based on column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134395#M20152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Matteo! Tried to use CROSSTABLE for it and failed, Didn't think about Concatenate before. Your response is very helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134395#M20152</guid>
      <dc:creator>songzixian2016</dc:creator>
      <dc:date>2018-09-17T17:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one row into multiple rows based on column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134396#M20153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is a good way of doing it but may be you can try below script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrxTable:&lt;/P&gt;&lt;P&gt;CrossTable(Phase, Dates)&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [A start date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [A end date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [B start date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [B end date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [C start date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [C end date]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="314203" data-objecttype="1" href="https://community.qlik.com/thread/314203"&gt;https://community.qlik.com/thread/314203&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, utf8, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;FinalTab:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(Phase,1) AS Cat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mid(Phase, 3, Len(Phase)) AS DateValues&lt;/P&gt;&lt;P&gt;Resident CrxTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table CrxTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;FinalTab1:&lt;/P&gt;&lt;P&gt;LOAD ID, Cat as Phase, Dates as StartDate&lt;/P&gt;&lt;P&gt;Resident FinalTab&lt;/P&gt;&lt;P&gt;Where DateValues = 'start date';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN(FinalTab1)&lt;/P&gt;&lt;P&gt;LOAD ID, Cat as Phase, Dates as EndDate&lt;/P&gt;&lt;P&gt;Resident FinalTab&lt;/P&gt;&lt;P&gt;Where DateValues = 'end date';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table FinalTab;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/213763_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134396#M20153</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-09-17T17:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one row into multiple rows based on column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134397#M20154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try with my script? Just checking if you were successful. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 18:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134397#M20154</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-09-17T18:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one row into multiple rows based on column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134398#M20155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath, I tried it. It works if my field name is exactly same as sample data above.&lt;/P&gt;&lt;P&gt;In reality, my data is "XXX start date" or "XXXX start date" (the number of characters before "start date" or "end date" is inconsistant) instead of "single Character + start date" so &lt;EM&gt;&lt;STRONG&gt;Left(Phase, 3) AS Cat&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;Mid(Phase, 3, Len(Phase)) AS DateValues&lt;/STRONG&gt;&lt;/EM&gt; does not work in my situation. I believe some script to parse out category name based on space can solve this but do not know how to do that. But generally the approach is helpful. Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 18:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134398#M20155</guid>
      <dc:creator>songzixian2016</dc:creator>
      <dc:date>2018-09-17T18:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one row into multiple rows based on column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134399#M20156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My understanding was like if you have more phases you need to add the script again and again using Concatenate. SO try below in your script where you have left and mid functions like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FinalTab:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Left(Phase, Index(Phase, ' '))&lt;/SPAN&gt; AS Cat,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Mid(Phase, Index(Phase, ' ')+1, Len(Phase)) &lt;/SPAN&gt;AS DateValues&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident CrxTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 20:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134399#M20156</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-09-17T20:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one row into multiple rows based on column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134400#M20157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works well. Compare to "Concatenate" approach it is indeed less code. Thanks again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 20:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134400#M20157</guid>
      <dc:creator>songzixian2016</dc:creator>
      <dc:date>2018-09-17T20:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one row into multiple rows based on column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134401#M20158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem, just trying to suggest one time script solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 21:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-row-into-multiple-rows-based-on-column-name/m-p/134401#M20158</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-09-17T21:30:07Z</dc:date>
    </item>
  </channel>
</rss>

