<?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: Delimiter - Split into New Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Delimiter-Split-into-New-Field/m-p/426387#M158854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help that did the trick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the sake of others that may follow the code was missing a close bracket at the end which I have updated below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If(Index(DataField,';')=0,Null(),SubField(DataField,';',1)) as Field1,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If(Index(DataField,';')=0,DataField,SubField(DataField,';',2)) as Field2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Many thanks again for helping out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 12:40:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-12T12:40:21Z</dc:date>
    <item>
      <title>Delimiter - Split into New Field</title>
      <link>https://community.qlik.com/t5/QlikView/Delimiter-Split-into-New-Field/m-p/426384#M158851</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 am endeavouring to build some analytics of our Community Centre where I volunteer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have all our rooms and halls in Outlook and I download each into an Excel file - We use the category function to band rates, but also to categorize use of main hall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my Excel file I end up with data like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sports Hall Full;Casual Use&lt;/P&gt;&lt;P&gt;Sports Hall Half;Reduced Community&lt;/P&gt;&lt;P&gt;Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to acheive is splitting out the Sports Hall into another field. I have toyed around with subfield but not really getting the 'right' answer....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be grateful of some advice on how I may keep the data Casual Use, Reduced Community and Community in one field and Sports Hall type fields in another field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 20:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delimiter-Split-into-New-Field/m-p/426384#M158851</guid>
      <dc:creator />
      <dc:date>2013-02-11T20:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Delimiter - Split into New Field</title>
      <link>https://community.qlik.com/t5/QlikView/Delimiter-Split-into-New-Field/m-p/426385#M158852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob, Please post some data in the Excel and what do you expect the table in QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 02:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delimiter-Split-into-New-Field/m-p/426385#M158852</guid>
      <dc:creator />
      <dc:date>2013-02-12T02:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Delimiter - Split into New Field</title>
      <link>https://community.qlik.com/t5/QlikView/Delimiter-Split-into-New-Field/m-p/426386#M158853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may try to split the data field into two as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Index(DataField,';')=0,Null(),SubField(DataField,';',1) as Field1,&lt;/P&gt;&lt;P&gt;If(Index(DataField,';')=0,DataField,SubField(DataField,';',2) as Field2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 02:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delimiter-Split-into-New-Field/m-p/426386#M158853</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-02-12T02:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Delimiter - Split into New Field</title>
      <link>https://community.qlik.com/t5/QlikView/Delimiter-Split-into-New-Field/m-p/426387#M158854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help that did the trick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the sake of others that may follow the code was missing a close bracket at the end which I have updated below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If(Index(DataField,';')=0,Null(),SubField(DataField,';',1)) as Field1,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If(Index(DataField,';')=0,DataField,SubField(DataField,';',2)) as Field2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Many thanks again for helping out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 12:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delimiter-Split-into-New-Field/m-p/426387#M158854</guid>
      <dc:creator />
      <dc:date>2013-02-12T12:40:21Z</dc:date>
    </item>
  </channel>
</rss>

