<?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 How to split string and add the numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974982#M333346</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 field with a string like&amp;nbsp; 'Y1C170B15F100', a letter followed by a number between 1 and 999 and repeat&amp;nbsp; up to 20 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to parse it to load a sum of the integers, in that case above the result would be&amp;nbsp; '286'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2015 15:54:08 GMT</pubDate>
    <dc:creator>hervechambrin</dc:creator>
    <dc:date>2015-12-22T15:54:08Z</dc:date>
    <item>
      <title>How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974982#M333346</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 field with a string like&amp;nbsp; 'Y1C170B15F100', a letter followed by a number between 1 and 999 and repeat&amp;nbsp; up to 20 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to parse it to load a sum of the integers, in that case above the result would be&amp;nbsp; '286'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 15:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974982#M333346</guid>
      <dc:creator>hervechambrin</dc:creator>
      <dc:date>2015-12-22T15:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974983#M333347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how you derived &lt;STRONG&gt;286&lt;/STRONG&gt; from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Y1C170B15F100&lt;/STRONG&gt;. Would you be able to walk us through the logic?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 17:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974983#M333347</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-22T17:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974984#M333348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for taking the time. I found a way to get the string as '1;170;15;100' , if you add theses numbers it will be 286. but now when I try to sum theses number I need theses 2 steps :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;sub2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('1;170;15;100',';') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;sub2s&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Capacity;&lt;BR /&gt; &lt;BR /&gt; add:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;sub2s&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;addedfinal&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; sub2; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The following combination of sum and subfield&amp;nbsp; is not working, any idea why ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;sub:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('1;170;15;100',';')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;subs&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Capacity; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 17:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974984#M333348</guid>
      <dc:creator>hervechambrin</dc:creator>
      <dc:date>2015-12-22T17:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974985#M333349</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;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Sum(subs) as subs;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD SubField(Field, ';') as subs;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1;170;15;100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 18:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974985#M333349</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-22T18:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974986#M333350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Herve,&lt;/P&gt;&lt;P&gt;This one is great fun! Try this expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;num(&lt;/P&gt;&lt;P&gt;$(=&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;'$(vString)',&lt;/P&gt;&lt;P&gt;'A','+'),&lt;/P&gt;&lt;P&gt;'B','+'),&lt;/P&gt;&lt;P&gt;'C','+'),&lt;/P&gt;&lt;P&gt;'D','+'),&lt;/P&gt;&lt;P&gt;'E','+'),&lt;/P&gt;&lt;P&gt;'F','+'),&lt;/P&gt;&lt;P&gt;'G','+'),&lt;/P&gt;&lt;P&gt;'H','+'),&lt;/P&gt;&lt;P&gt;'I','+'),&lt;/P&gt;&lt;P&gt;'J','+'),&lt;/P&gt;&lt;P&gt;'K','+'),&lt;/P&gt;&lt;P&gt;'L','+'),&lt;/P&gt;&lt;P&gt;'M','+'),&lt;/P&gt;&lt;P&gt;'N','+'),&lt;/P&gt;&lt;P&gt;'O','+'),&lt;/P&gt;&lt;P&gt;'P','+'),&lt;/P&gt;&lt;P&gt;'Q','+'),&lt;/P&gt;&lt;P&gt;'R','+'),&lt;/P&gt;&lt;P&gt;'S','+'),&lt;/P&gt;&lt;P&gt;'T','+'),&lt;/P&gt;&lt;P&gt;'U','+'),&lt;/P&gt;&lt;P&gt;'V','+'),&lt;/P&gt;&lt;P&gt;'W','+'),&lt;/P&gt;&lt;P&gt;'X','+'),&lt;/P&gt;&lt;P&gt;'Y','+'),&lt;/P&gt;&lt;P&gt;'Z','+')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will return the number you're looking for for whatever string you set vString equal to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #000000;"&gt;vString&lt;/SPAN&gt;&lt;/TH&gt;&lt;TD bgcolor="#ffffff"&gt;Y1C170B15F100 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #000000;"&gt;vSum&lt;/SPAN&gt;&lt;/TH&gt;&lt;TD bgcolor="#ffffff"&gt;286&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 10:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974986#M333350</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-12-23T10:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974987#M333351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Andrew, is it possible to get the same result in a LOAD script, I tried a lot of different syntax but always get the same result ? The following&amp;nbsp; returns '+10+20' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;tew:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Capacity&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'A','+'),'B','+')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;tews&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Capacity&lt;BR /&gt; A10B20&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 14:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974987#M333351</guid>
      <dc:creator>hervechambrin</dc:creator>
      <dc:date>2015-12-23T14:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974988#M333352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were able to change letters into semi-colons already right? Have you tried this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD Sum(subs) as subs;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD SubField(Field, ';') as subs;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Field&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;1;170;15;100&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 15:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974988#M333352</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-23T15:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974989#M333353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny, I tried but it didn't work&amp;nbsp; in my case I need to do it within 1 LOAD statement while looping thru multiples QVDs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 16:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974989#M333353</guid>
      <dc:creator>hervechambrin</dc:creator>
      <dc:date>2015-12-23T16:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974990#M333354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Herves,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tews:&lt;/P&gt;&lt;P&gt;Load Capacity,&lt;/P&gt;&lt;P&gt;Evaluate(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Replace(&lt;/P&gt;&lt;P&gt;Capacity,&lt;/P&gt;&lt;P&gt;'A','+'),&lt;/P&gt;&lt;P&gt;'B','+'),&lt;/P&gt;&lt;P&gt;'C','+'),&lt;/P&gt;&lt;P&gt;'D','+'),&lt;/P&gt;&lt;P&gt;'E','+'),&lt;/P&gt;&lt;P&gt;'F','+'),&lt;/P&gt;&lt;P&gt;'G','+'),&lt;/P&gt;&lt;P&gt;'H','+'),&lt;/P&gt;&lt;P&gt;'I','+'),&lt;/P&gt;&lt;P&gt;'J','+'),&lt;/P&gt;&lt;P&gt;'K','+'),&lt;/P&gt;&lt;P&gt;'L','+'),&lt;/P&gt;&lt;P&gt;'M','+'),&lt;/P&gt;&lt;P&gt;'N','+'),&lt;/P&gt;&lt;P&gt;'O','+'),&lt;/P&gt;&lt;P&gt;'P','+'),&lt;/P&gt;&lt;P&gt;'Q','+'),&lt;/P&gt;&lt;P&gt;'R','+'),&lt;/P&gt;&lt;P&gt;'S','+'),&lt;/P&gt;&lt;P&gt;'T','+'),&lt;/P&gt;&lt;P&gt;'U','+'),&lt;/P&gt;&lt;P&gt;'V','+'),&lt;/P&gt;&lt;P&gt;'W','+'),&lt;/P&gt;&lt;P&gt;'X','+'),&lt;/P&gt;&lt;P&gt;'Y','+'),&lt;/P&gt;&lt;P&gt;'Z','+')&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;as tews&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Capacity&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A10B20&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gives a table&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Capacity&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;tews&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;A10B20&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;30&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 16:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974990#M333354</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-12-23T16:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974991#M333355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you All, this is working for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 17:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974991#M333355</guid>
      <dc:creator>hervechambrin</dc:creator>
      <dc:date>2015-12-23T17:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to split string and add the numbers</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974992#M333356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this also, if suits..&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14508916219545394 jive_text_macro" jivemacro_uid="_14508916219545394"&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;LOAD AutoNumber(Field) as Rec,SubField(Field, ';') as subs;&lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;Field&lt;/P&gt;
&lt;P&gt;1;170;15;100&lt;/P&gt;
&lt;P&gt;1;10;15;110&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;T2:&lt;/P&gt;
&lt;P&gt;LOAD Sum(subs) as subs,Rec Resident Table Group by Rec;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Field Rec;&lt;/P&gt;
&lt;P&gt;DROP Table Table;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 17:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-string-and-add-the-numbers/m-p/974992#M333356</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-12-23T17:27:25Z</dc:date>
    </item>
  </channel>
</rss>

