<?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: sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum/m-p/723740#M259669</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 got the correct answer. The Expression should be as follows&lt;/P&gt;&lt;P&gt;sum(DEBIT_AMOUNT)-sum(SETTLED_AMOUNT)-SUM(CANCELLED_AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Jun 2014 12:25:22 GMT</pubDate>
    <dc:creator>upaliwije</dc:creator>
    <dc:date>2014-06-21T12:25:22Z</dc:date>
    <item>
      <title>sum</title>
      <link>https://community.qlik.com/t5/QlikView/sum/m-p/723733#M259662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot table with following dimension and mesures&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dept&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debit_Amount&amp;nbsp;&amp;nbsp; Settled_Amount Cancelled_Amount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Balance&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="500"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;01341&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="108"&gt;621,620&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="98"&gt;166,645&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;02718&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;822,169&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;85,530&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;32,404&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;03588&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;536,376&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5,550&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl64" 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;I have written the following expression to obtain balance But It is not giving desired result. Instead show 0 values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM( Debit_Amount -Settled_Amount -Cancelled_Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me to correct the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 08:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum/m-p/723733#M259662</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-21T08:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: sum</title>
      <link>https://community.qlik.com/t5/QlikView/sum/m-p/723734#M259663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you use the column names if so then remove the SUM from the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(Debit_Amount -Settled_Amount -Cancelled_Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 09:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum/m-p/723734#M259663</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-21T09:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: sum</title>
      <link>https://community.qlik.com/t5/QlikView/sum/m-p/723735#M259664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still the Balance value is zero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 09:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum/m-p/723735#M259664</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-21T09:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: sum</title>
      <link>https://community.qlik.com/t5/QlikView/sum/m-p/723736#M259665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please elaborate more &lt;/P&gt;&lt;P&gt;what is mean for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Debit_Amount,&amp;nbsp; Settled_Amount, Cancelled_Amount this are fields or column name in the chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 09:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum/m-p/723736#M259665</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-21T09:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: sum</title>
      <link>https://community.qlik.com/t5/QlikView/sum/m-p/723737#M259666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; load DEBIT_NOTE_NO,SETTLEMENT_DATE,SETTLED_AMOUNT AS SETTLED_AMOUNT;&lt;/P&gt;&lt;P&gt; sql&lt;/P&gt;&lt;P&gt; select Max(Ref_date)SETTLEMENT_DATE&lt;/P&gt;&lt;P&gt;,det_ref_C DEBIT_NOTE_NO ,&lt;/P&gt;&lt;P&gt;sum(NVL(det_hc_amt,0)) SETTLED_AMOUNT&lt;/P&gt;&lt;P&gt;from T_debtor &lt;/P&gt;&lt;P&gt;group by ref_C;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are really fields as given above SETTLED_AMOUNT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 10:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum/m-p/723737#M259666</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-21T10:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: sum</title>
      <link>https://community.qlik.com/t5/QlikView/sum/m-p/723738#M259667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with before function, otherwise share your sample.QVW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chinni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 12:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum/m-p/723738#M259667</guid>
      <dc:creator />
      <dc:date>2014-06-21T12:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: sum</title>
      <link>https://community.qlik.com/t5/QlikView/sum/m-p/723739#M259668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 12:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum/m-p/723739#M259668</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-21T12:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: sum</title>
      <link>https://community.qlik.com/t5/QlikView/sum/m-p/723740#M259669</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 got the correct answer. The Expression should be as follows&lt;/P&gt;&lt;P&gt;sum(DEBIT_AMOUNT)-sum(SETTLED_AMOUNT)-SUM(CANCELLED_AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 12:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum/m-p/723740#M259669</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-21T12:25:22Z</dc:date>
    </item>
  </channel>
</rss>

