<?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 Straight table won't calculate sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-table-won-t-calculate-sum/m-p/423366#M157805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report which won't produce the sums at top of the table. Previously, I had a lot of null values, so I went through my SQL script, and used&lt;/P&gt;&lt;P&gt;the coalesce function to turn most of them into zeros. However, some still came through. I used an "IF" statement to convert nulls to zeros, but&lt;/P&gt;&lt;P&gt;they came out as text, not numbers (I checked by exporting into Excel). So now my expressions look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(if(isnull(EquipmentCreated),0,EquipmentCreated))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still won't sum in my straight table, although if I export to Excel, it does work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why won't QV do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a couple of files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2012 15:55:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-19T15:55:45Z</dc:date>
    <item>
      <title>Straight table won't calculate sum</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-won-t-calculate-sum/m-p/423366#M157805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report which won't produce the sums at top of the table. Previously, I had a lot of null values, so I went through my SQL script, and used&lt;/P&gt;&lt;P&gt;the coalesce function to turn most of them into zeros. However, some still came through. I used an "IF" statement to convert nulls to zeros, but&lt;/P&gt;&lt;P&gt;they came out as text, not numbers (I checked by exporting into Excel). So now my expressions look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(if(isnull(EquipmentCreated),0,EquipmentCreated))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still won't sum in my straight table, although if I export to Excel, it does work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why won't QV do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a couple of files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 15:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-won-t-calculate-sum/m-p/423366#M157805</guid>
      <dc:creator />
      <dc:date>2012-09-19T15:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table won't calculate sum</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-won-t-calculate-sum/m-p/423367#M157806</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;Please see the attached image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 16:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-won-t-calculate-sum/m-p/423367#M157806</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-19T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table won't calculate sum</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-won-t-calculate-sum/m-p/423368#M157807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is because of the equation; it shows 'NULL', but you have set it to show '0' instead.&amp;nbsp; You can use Chart Properties &amp;gt; Expressions &amp;gt; Sum of Rows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22150" class="jive-image" alt="Capture.JPG" src="https://community.qlik.com/legacyfs/online/22150_Capture.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 16:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-won-t-calculate-sum/m-p/423368#M157807</guid>
      <dc:creator />
      <dc:date>2012-09-19T16:11:37Z</dc:date>
    </item>
  </channel>
</rss>

