<?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 column data into two columns? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752754#M1028523</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;If you want to split data into two columns use miguels solution.&lt;/P&gt;&lt;P&gt;else if you want to group data so use below code to create flags in script and use in ui to visualise:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;wildmatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;fieldname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'AXN*'),Status_AXN,Status) as Status; &lt;/SPAN&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2015 13:20:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-19T13:20:04Z</dc:date>
    <item>
      <title>How to split one column data into two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752749#M1028518</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; I have column data as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;School&lt;BR /&gt;College&lt;BR /&gt;University&lt;BR /&gt;Department&lt;BR /&gt;AXN (D&amp;amp;R) - Delhi&lt;BR /&gt;AXN (D&amp;amp;R) - Mumbai&lt;BR /&gt;AXN (D&amp;amp;R) - Goa&lt;BR /&gt;AXN (D&amp;amp;R) - Bangalore&lt;BR /&gt;AXN (D&amp;amp;R) - Kochin&lt;BR /&gt;AXN (D&amp;amp;R) - Agra&lt;BR /&gt;AXN (D&amp;amp;R) - NewJersey&lt;BR /&gt;AXN (D&amp;amp;R) - Washington&lt;BR /&gt;AXN (D&amp;amp;R) - Chennai&lt;BR /&gt;AXN (D&amp;amp;R) - Pune&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show in chart Status split to two columns as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;School&lt;BR /&gt;College&lt;BR /&gt;University&lt;BR /&gt;Department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status_AXN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AXN (D&amp;amp;R) - Delhi&lt;BR /&gt;AXN (D&amp;amp;R) - Mumbai&lt;BR /&gt;AXN (D&amp;amp;R) - Goa&lt;BR /&gt;AXN (D&amp;amp;R) - Bangalore&lt;BR /&gt;AXN (D&amp;amp;R) - Kochin&lt;BR /&gt;AXN (D&amp;amp;R) - Agra&lt;BR /&gt;AXN (D&amp;amp;R) - NewJersey&lt;BR /&gt;AXN (D&amp;amp;R) - Washington&lt;BR /&gt;AXN (D&amp;amp;R) - Chennai&lt;BR /&gt;AXN (D&amp;amp;R) - Pune&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can anyone suggest me how to do this in chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 12:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752749#M1028518</guid>
      <dc:creator />
      <dc:date>2015-02-19T12:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one column data into two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752750#M1028519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amelia,&lt;/P&gt;&lt;P&gt;If that is really how the data will look like, then you can use a If() statement along with some text functions, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;If(Left(Status, 3) = 'AXN', Status, null()) AS Status_AXN,&lt;/P&gt;&lt;P&gt;If(Left(Status, 3) &amp;lt;&amp;gt; 'AXN', Status, null()) AS Status &lt;/P&gt;&lt;P&gt;FROM Source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are in the same table. Otherwise, a WHERE statement with similar functions.&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 12:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752750#M1028519</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2015-02-19T12:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one column data into two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752751#M1028520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to split that column for a chart or that's how you want it to be within the data structure in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 13:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752751#M1028520</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-19T13:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one column data into two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752752#M1028521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I used in script. When I am two columns in table it is showing blanks under Status_AXN column. please can help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 13:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752752#M1028521</guid>
      <dc:creator />
      <dc:date>2015-02-19T13:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one column data into two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752753#M1028522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to split the column for a chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 13:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752753#M1028522</guid>
      <dc:creator />
      <dc:date>2015-02-19T13:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one column data into two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752754#M1028523</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;If you want to split data into two columns use miguels solution.&lt;/P&gt;&lt;P&gt;else if you want to group data so use below code to create flags in script and use in ui to visualise:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;wildmatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;fieldname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'AXN*'),Status_AXN,Status) as Status; &lt;/SPAN&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 13:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752754#M1028523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-19T13:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one column data into two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752755#M1028524</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;You can use same as Miguel,&lt;/P&gt;&lt;P&gt;just change the first if condition to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(wildmatch(Status,'*AXN*'), Status, null()) AS Status_AXN.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you need this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Amay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 13:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752755#M1028524</guid>
      <dc:creator />
      <dc:date>2015-02-19T13:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one column data into two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752756#M1028525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, because you are creating two new columns in the script, and depending on the value, one or the other will be populated, but never both. That's what I understood from your original post.&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 13:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-one-column-data-into-two-columns/m-p/752756#M1028525</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2015-02-19T13:27:35Z</dc:date>
    </item>
  </channel>
</rss>

