<?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: Isolate Numeric values and AlphaNumeric Values from a Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Isolate-Numeric-values-and-AlphaNumeric-Values-from-a-Field/m-p/1385679#M421970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Left([Item Code], 1) = FindOneOf([Item Code],'0123456789'), 'Exports','Inports')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 05:54:47 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-09-11T05:54:47Z</dc:date>
    <item>
      <title>Isolate Numeric values and AlphaNumeric Values from a Field</title>
      <link>https://community.qlik.com/t5/QlikView/Isolate-Numeric-values-and-AlphaNumeric-Values-from-a-Field/m-p/1385678#M421969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement, need to isolate Numeric values and alpha numeric values from a Field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item Code&lt;/P&gt;&lt;P&gt;12-45A-PGH&lt;/P&gt;&lt;P&gt;PG-123-ABC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As above, Itemcode starts with Numeric and Alphanumeric, I want to create two fields using a condition as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (ItemCode starts with 'Numeric value', 'Exports', (specification - 0,1,2,3,4,5,6,7,8,9)&lt;/P&gt;&lt;P&gt;if(ItemCode starts with 'Alphanumeric' , 'Imports', (specification - A-Z)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to write specific condition to extract the information as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 05:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isolate-Numeric-values-and-AlphaNumeric-Values-from-a-Field/m-p/1385678#M421969</guid>
      <dc:creator>kalyandg</dc:creator>
      <dc:date>2017-09-11T05:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate Numeric values and AlphaNumeric Values from a Field</title>
      <link>https://community.qlik.com/t5/QlikView/Isolate-Numeric-values-and-AlphaNumeric-Values-from-a-Field/m-p/1385679#M421970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Left([Item Code], 1) = FindOneOf([Item Code],'0123456789'), 'Exports','Inports')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 05:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isolate-Numeric-values-and-AlphaNumeric-Values-from-a-Field/m-p/1385679#M421970</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-11T05:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate Numeric values and AlphaNumeric Values from a Field</title>
      <link>https://community.qlik.com/t5/QlikView/Isolate-Numeric-values-and-AlphaNumeric-Values-from-a-Field/m-p/1385680#M421971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemCode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12-45A-PGH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PG-123-ABC&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load KeepChar(ItemCode, '0123456789') as Import, PurgeChar(ItemCode, '0123456789-') as Export Resident Test&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 06:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isolate-Numeric-values-and-AlphaNumeric-Values-from-a-Field/m-p/1385680#M421971</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-09-11T06:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate Numeric values and AlphaNumeric Values from a Field</title>
      <link>https://community.qlik.com/t5/QlikView/Isolate-Numeric-values-and-AlphaNumeric-Values-from-a-Field/m-p/1385681#M421972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe a very compact expression will do the job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF (ord([Item Code]) &amp;lt; 58, 'Exports', 'Imports')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technique is based on the fact that the ord() function returns the ASCII value of the first character of the string passed as a parameter. All alphabetical characters have a value larger than 64. This works perfectly as long as every product code starts with an akphanumeric character.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 11:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isolate-Numeric-values-and-AlphaNumeric-Values-from-a-Field/m-p/1385681#M421972</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-09-11T11:09:54Z</dc:date>
    </item>
  </channel>
</rss>

