<?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: Ignore Brackets () and load as two different fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534429#M599828</link>
    <description>&lt;P&gt;If the source field is [myfield]:&lt;/P&gt;&lt;PRE&gt;...&lt;BR /&gt;Purgechar(SubField(myfield, ' ', 1), '()') as ID,
SubField(myfield, ' ', 2) as Group,&lt;BR /&gt;...&lt;/PRE&gt;</description>
    <pubDate>Thu, 24 Jan 2019 12:23:53 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-01-24T12:23:53Z</dc:date>
    <item>
      <title>Ignore Brackets () and load as two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534414#M599827</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have the following data in my database as a single field.&lt;/P&gt;&lt;P&gt;(84700) Pharmacy.&lt;/P&gt;&lt;P&gt;From this field i would like to extract Two fileds.&lt;/P&gt;&lt;P&gt;84700 as ID and Pharmacy as Group.&lt;/P&gt;&lt;P&gt;Please, note i would like to ignore the brackets () here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please provide some pointers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534414#M599827</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2024-11-16T21:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Brackets () and load as two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534429#M599828</link>
      <description>&lt;P&gt;If the source field is [myfield]:&lt;/P&gt;&lt;PRE&gt;...&lt;BR /&gt;Purgechar(SubField(myfield, ' ', 1), '()') as ID,
SubField(myfield, ' ', 2) as Group,&lt;BR /&gt;...&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Jan 2019 12:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534429#M599828</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-01-24T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Brackets () and load as two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534430#M599829</link>
      <description>assuming you dont have brackets you want to keep in any place in the field&lt;BR /&gt;use subfield() to split and replace() to remove the extra leading bracket so;&lt;BR /&gt;replace(subfield(FieldName,')',1),'(','') as ID,&lt;BR /&gt;trim(subfield(FieldName,')',2)) as Group</description>
      <pubDate>Thu, 24 Jan 2019 12:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534430#M599829</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2019-01-24T12:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Brackets () and load as two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534431#M599830</link>
      <description>Hi,&lt;BR /&gt;You can use:&lt;BR /&gt;TextBetween(SINGLE_FIELD, '(' , ')') AS ID, //Getting the text between '(' and ')'&lt;BR /&gt;MID(SINGLE_FIELD, index(SINGLE_FIELD, ' ')+1) AS Group //Getting the substring from the original field, assuming that there will be always an SPACE between the ID and the Group. (the "+1" is to get the string 1 position after the SPACE, or else it was going to bring ' Pharmacy')&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jan 2019 12:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534431#M599830</guid>
      <dc:creator>erick_ws</dc:creator>
      <dc:date>2019-01-24T12:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Brackets () and load as two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534433#M599831</link>
      <description>&lt;PRE&gt;LOAD
PURGECHAR(PURGECHAR(SUBFIELD(Field, ' ', 1),'('),')') AS ID,
SUBFIELD(Field, ' ', 2) AS Group
FROM...&lt;/PRE&gt;&lt;P&gt;Oh, well, so many people were faster than me. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 12:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Brackets-and-load-as-two-different-fields/m-p/1534433#M599831</guid>
      <dc:creator>Ivan_Bozov</dc:creator>
      <dc:date>2019-01-24T12:31:48Z</dc:date>
    </item>
  </channel>
</rss>

