<?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: Re: sum lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567229#M211562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes NT means &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NbreT no&lt;/SPAN&gt;. I just tried to replicate your data. Can you please see the attached file. It gives me expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Jan 2014 09:48:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-25T09:48:10Z</dc:date>
    <item>
      <title>sum lines</title>
      <link>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567226#M211559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to have in the field [RES1] the value under.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NbreTA et NbreT are an expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7 = sum (ALCL + SOCO) = 3 + 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don’t know, if it’s possible to have an expression like that or maybe an another method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RES1 = Sum field [NbreT] if&amp;nbsp; CAM=ALCL + (CAM=SOCO and CAM=OKI) and if LOC is not null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 2.75pt; padding: 0 3.5pt 0 3.5pt;" width="628"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;ZP&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;Nbre TA&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;Nbre T&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;CAM&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;LOC&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;RES1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;ZP&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;ALCL&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;7&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;ZP&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;SOC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;O&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;SOCO&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;ZP&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;9&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;SOCO&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;9&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;STRONG style="color: black; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;10&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;STRONG style="color: black; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;16&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;16&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 16:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567226#M211559</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-24T16:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: sum lines</title>
      <link>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567227#M211560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(CAM = 'ALCL', NT + Below(total NT),if(CAM = 'SOCO' and LOC = '',NT,0)) or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(CAM = 'ALCL', NT + Below(total NT),if(CAM = 'SOCO' and isnull(LOC),NT,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 17:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567227#M211560</guid>
      <dc:creator />
      <dc:date>2014-01-24T17:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: sum lines</title>
      <link>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567228#M211561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does NT? It's NbreT no?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(CAM = 'ALCL', NbreT + Below(total NbreT),if(CAM = 'SOCO' and LOC = '',NbreT,0)) or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(CAM = 'ALCL', NbreT + Below(total NbreT),if(CAM = 'SOCO' and isnull(LOC),NbreT,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value returns are false&lt;/P&gt;&lt;P&gt;-1&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 17:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567228#M211561</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-24T17:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re: sum lines</title>
      <link>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567229#M211562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes NT means &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NbreT no&lt;/SPAN&gt;. I just tried to replicate your data. Can you please see the attached file. It gives me expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 09:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567229#M211562</guid>
      <dc:creator />
      <dc:date>2014-01-25T09:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: sum lines</title>
      <link>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567230#M211563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I add some value in your example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 742px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="80"&gt;ZP&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="80"&gt;NT&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="80"&gt;CAM&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="80"&gt;LOC&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="422"&gt;If(CAM = 'ALCL', NT + Below(total NT),if(CAM = 'SOCO' and LOC = '',NT,0))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;ZP&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;ALCL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;ZP&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;SOCO&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;SOCO&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;ZP&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;SOCO&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;ZP&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;OKI&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;OKI&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to explain if CAM = ALCL and LOC=SOCO + OKI we must to do the sum 3 + 4 + 11 = 18 the other value not change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have in new column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 742px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="80"&gt;ZP&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="80"&gt;NT&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="80"&gt;CAM&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="80"&gt;LOC&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="422"&gt;RES1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none;"&gt;27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;ZP&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;ALCL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;ZP&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;SOCO&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;SOCO&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;ZP&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;SOCO&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;ZP&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;OKI&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;OKI&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 11:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567230#M211563</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-25T11:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: sum lines</title>
      <link>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567231#M211564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to play with the If statements, since your requirement is very specific. I think you would have to make nested IF conditions to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 17:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-lines/m-p/567231#M211564</guid>
      <dc:creator />
      <dc:date>2014-01-25T17:40:28Z</dc:date>
    </item>
  </channel>
</rss>

