<?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 Conditional sum on cell values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-sum-on-cell-values/m-p/683252#M1059356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning to all,&lt;/P&gt;&lt;P&gt;I have a pivot table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="96"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: 0px solid black;" width="98"&gt;Loading&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="94"&gt;Discharge&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="94"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="98"&gt;PodOriginale&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none;" width="55"&gt;Q.tà&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none;" width="39"&gt;Quan.+&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none;" width="60"&gt;Q.Tot&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none;" width="60"&gt;&lt;STRONG&gt;????&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ANVERSA&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ANVERSA&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;30&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;37&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;STRONG&gt;21&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;ABU DHABI&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;ALEXANDRIA&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to have an additional column ('????') where the result must be the Sum of all the where "Discharge" is equal to the corrisponding "Loading" Port.&lt;/P&gt;&lt;P&gt;Referring to the example, I need, for the first row, an additional column where, I have the sum of the Abidjan of the second row.&lt;/P&gt;&lt;P&gt;In this simply case: 21&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;Could anyone help me?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 13:33:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-24T13:33:55Z</dc:date>
    <item>
      <title>Conditional sum on cell values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-on-cell-values/m-p/683252#M1059356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning to all,&lt;/P&gt;&lt;P&gt;I have a pivot table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="96"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: 0px solid black;" width="98"&gt;Loading&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="94"&gt;Discharge&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="94"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="98"&gt;PodOriginale&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none;" width="55"&gt;Q.tà&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none;" width="39"&gt;Quan.+&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none;" width="60"&gt;Q.Tot&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none;" width="60"&gt;&lt;STRONG&gt;????&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ANVERSA&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ANVERSA&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;30&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;37&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;STRONG&gt;21&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;ABU DHABI&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;ALEXANDRIA&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ABIDJAN&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to have an additional column ('????') where the result must be the Sum of all the where "Discharge" is equal to the corrisponding "Loading" Port.&lt;/P&gt;&lt;P&gt;Referring to the example, I need, for the first row, an additional column where, I have the sum of the Abidjan of the second row.&lt;/P&gt;&lt;P&gt;In this simply case: 21&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;Could anyone help me?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-on-cell-values/m-p/683252#M1059356</guid>
      <dc:creator />
      <dc:date>2014-09-24T13:33:55Z</dc:date>
    </item>
  </channel>
</rss>

