<?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: LOAD multiple items from one field into a single field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706108#M677951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use the two parameter version of the subfield function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2014 19:00:21 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-06-18T19:00:21Z</dc:date>
    <item>
      <title>LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706099#M677942</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 a field that has the form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keyword; another keyword; a different keyword; new keyword, etc. (usually max five keywords per field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to put all the individual keywords into one field. I could brute force it by finding Key1, Key2, Key3, etc.&lt;/P&gt;&lt;P&gt;from each original field, and then finding someway to concatenate the fields, but I wondered if there was&lt;/P&gt;&lt;P&gt;a more elegant way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 17:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706099#M677942</guid>
      <dc:creator />
      <dc:date>2014-06-18T17:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706100#M677943</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key1 &amp;amp; Key2 &amp;amp; Key3 &amp;amp; Key4 &amp;amp; Key5 as MainKey,&amp;nbsp; // in script editor when you load your table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or just&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key1 &amp;amp; Key2 &amp;amp; Key3 &amp;amp; Key4 &amp;amp; Key5&amp;nbsp; // In a chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 17:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706100#M677943</guid>
      <dc:creator />
      <dc:date>2014-06-18T17:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706101#M677944</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;Can you post an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 17:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706101#M677944</guid>
      <dc:creator />
      <dc:date>2014-06-18T17:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706102#M677945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In script &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; If(Field ='keyword', 'Keyword',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Field ='different keyword', 'different Keyword',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Field ='new keyword', 'new Keyword')))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; as OriginalField &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 17:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706102#M677945</guid>
      <dc:creator>venkatg6759</dc:creator>
      <dc:date>2014-06-18T17:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706103#M677946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know you have max 5 keywords, they are separated by semicolons, and you want each one in its own field, you can use SubField():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MYFIELD, ';', 1) as KeyWord1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MYFIELD, ';', 2) as KeyWord2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MYFIELD, ';', 3) as KeyWord3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MYFIELD, ';', 4) as KeyWord4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MYFIELD, ';', 5) as KeyWord5&lt;/P&gt;&lt;P&gt;From etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, if you want the keywords separated but in only one field (raising the number of records), it would be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MYFIELD, ';') as KeyWord&lt;/P&gt;&lt;P&gt;From etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't pass a third parameter to SubField(), it will put each value in a new record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 17:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706103#M677946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-18T17:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706104#M677947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had worked on a similar requirement long ago&lt;/P&gt;&lt;P&gt;Check this link out it should help.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/327257#327257"&gt;http://community.qlik.com/message/327257#327257&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;SM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 18:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706104#M677947</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2014-06-18T18:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706105#M677948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field might contain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"500W LAMP; Light fixture; Underwater lamp"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this in ONE field, Keywords, as three separate entries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;500W LAMP&lt;/P&gt;&lt;P&gt;Light fixture&lt;/P&gt;&lt;P&gt;Underwater lamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason is I want to do some matches against another field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 18:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706105#M677948</guid>
      <dc:creator />
      <dc:date>2014-06-18T18:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706106#M677949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, this looks like it will do what I want. I will test it out, and if it works, I'll come back to mark this Correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 18:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706106#M677949</guid>
      <dc:creator />
      <dc:date>2014-06-18T18:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706107#M677950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;field&lt;/P&gt;&lt;P&gt;500W LAMP; Light fixture; Underwater lamp&lt;/P&gt;&lt;P&gt;500W MP; ht fixture; Undrwater lamp&lt;/P&gt;&lt;P&gt;50W LAMP; Ligfixture; Unrwater lap&lt;/P&gt;&lt;P&gt;50AMP; Light fire; Underr lamp&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// all values in one field&lt;/P&gt;&lt;P&gt;f:&lt;/P&gt;&lt;P&gt;load subfield(field,';',1) as newfield resident t; &lt;/P&gt;&lt;P&gt;concatenate (f) load subfield(field,';',1) as newfield resident t; &lt;/P&gt;&lt;P&gt;concatenate (f) load subfield(field,';',2) as newfield resident t; &lt;/P&gt;&lt;P&gt;concatenate (f) load subfield(field,';',3) as newfield resident t; &lt;/P&gt;&lt;P&gt;concatenate (f) load subfield(field,';',4) as newfield resident t; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 18:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706107#M677950</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-06-18T18:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD multiple items from one field into a single field</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706108#M677951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use the two parameter version of the subfield function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 19:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-multiple-items-from-one-field-into-a-single-field/m-p/706108#M677951</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-06-18T19:00:21Z</dc:date>
    </item>
  </channel>
</rss>

