<?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 subfield extract requirement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127251#M755830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Hoping someone has already done this. I have a product file that contains product description which includes text for KW,&lt;/P&gt;&lt;P&gt;eg "SYNERGY &lt;STRONG style=": ; color: #ff0000;"&gt;110KW&lt;/STRONG&gt;/180A SOFTSTARTER". I want to create a field during load to extract all values as 'KW", eg "110". The KW rating could be anywhere in the description string. Some combination of index and other text field methods locating "KW" then finding the preceeding space, then getting the text between this and KW. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>sangland2</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>subfield extract requirement</title>
      <link>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127251#M755830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Hoping someone has already done this. I have a product file that contains product description which includes text for KW,&lt;/P&gt;&lt;P&gt;eg "SYNERGY &lt;STRONG style=": ; color: #ff0000;"&gt;110KW&lt;/STRONG&gt;/180A SOFTSTARTER". I want to create a field during load to extract all values as 'KW", eg "110". The KW rating could be anywhere in the description string. Some combination of index and other text field methods locating "KW" then finding the preceeding space, then getting the text between this and KW. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127251#M755830</guid>
      <dc:creator>sangland2</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: subfield extract requirement</title>
      <link>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127252#M755831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the following should help:&lt;/P&gt;&lt;P&gt;load textbetween(your_field, ' ', 'KW') as KW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 07:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127252#M755831</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2018-09-14T07:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: subfield extract requirement</title>
      <link>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127253#M755832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to attached using subfield for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Arthur Fong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 07:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127253#M755832</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2018-09-14T07:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: subfield extract requirement</title>
      <link>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127254#M755833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, what if the description was "Some other SYNERGY 110KW/180A SOFTSTARTER",&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 13:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127254#M755833</guid>
      <dc:creator>sangland2</dc:creator>
      <dc:date>2018-09-14T13:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: subfield extract requirement</title>
      <link>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127255#M755834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both this was very helpful. This combined method works:&lt;/P&gt;&lt;P&gt;If there are multiple spaces before KW, eg&lt;/P&gt;&lt;P&gt;"Some other SYNERGY &lt;STRONG&gt;110&lt;/STRONG&gt;KW/180A SOFTSTARTER"&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;subfield(Textbetween(ProductDesc,' ','KW'),' ',-1) as KW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- returns just 110&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 13:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127255#M755834</guid>
      <dc:creator>sangland2</dc:creator>
      <dc:date>2018-09-14T13:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: subfield extract requirement</title>
      <link>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127256#M755835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can benefit from other string functions like:&lt;BR /&gt;load mid(ProductDesc,index(ProductDesc,' ',-1) + 1,len(ProductDes) - index(productDes,'KW')-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 14:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/subfield-extract-requirement/m-p/127256#M755835</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2018-09-14T14:41:22Z</dc:date>
    </item>
  </channel>
</rss>

