<?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 a field in different new fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443279#M610715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx Tomasz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nico&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Oct 2017 08:25:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-27T08:25:35Z</dc:date>
    <item>
      <title>How to split a field in different new fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443275#M610711</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 want to create different new fields using one basic field extract.&lt;/P&gt;&lt;P&gt;The basic field extract is someting like "035656AALKDMPRVLG"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 35656 is the account code&amp;nbsp; (leaving the null)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AAL is the Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KDM is the CRM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRVLG is the segment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me to get the right formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 20:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443275#M610711</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-26T20:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a field in different new fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443276#M610712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use string functions to separate the field value into parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something using&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; num(Keepchar(FIELD,'0123456789') ) as [Account code],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(Purgechar(FIELD,'0123456789'),3) as Team,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mid(Purgechar(FIELD,'0123456789'),4,3) as CRM,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mid(Purgechar(FIELD,'0123456789'),7,5) as segment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM ...;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;or similar. Check out the string functions or explain all rules that define your combined field value (e.g. fixed length parts?).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/StringFunctions/string-functions.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/StringFunctions/string-functions.htm"&gt;String functions ‒ QlikView&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 21:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443276#M610712</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-10-26T21:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a field in different new fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443277#M610713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If these fields are always on the same number of digit, you can try with mid. Otherwise, it will be difficult whithout separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;account code : mid(1,6)&lt;/P&gt;&lt;P&gt;Team : mid(7,3)&lt;/P&gt;&lt;P&gt;CRM : mid(10,3)&lt;/P&gt;&lt;P&gt;segment mid(13,5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 21:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443277#M610713</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-10-26T21:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a field in different new fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443278#M610714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the fields alvays the same length? Right and Mid functionctions could be handy here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right(text,5) AS segment,&lt;/P&gt;&lt;P&gt;Mid(text,7,3) AS Team,&lt;/P&gt;&lt;P&gt;Mid(text,10,3) AS CRM,&lt;/P&gt;&lt;P&gt;num(Left(text,6)) AS account_code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 21:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443278#M610714</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-10-26T21:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a field in different new fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443279#M610715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx Tomasz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nico&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 08:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443279#M610715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T08:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a field in different new fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443280#M610716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your question is now answered, please flag the Correct Answer (via the big "Correct Answer" button near every post; not visible in preview) and Helpful Answers (found under the Actions menu under every post).&lt;/P&gt;&lt;P&gt;If not, please make clear what part of this topic you still need help with &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 08:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-a-field-in-different-new-fields/m-p/1443280#M610716</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2017-10-27T08:26:58Z</dc:date>
    </item>
  </channel>
</rss>

