<?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 Using Total Of Columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Total-Of-Columns/m-p/154916#M31362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to use these outside of the chart? Column A should be pretty easy, just take whatever aggregate function you are using and add the TOTAL modifier. If it's Sum(Sales), then Sum(TOTAL Sales) will get you the expression total.&lt;/P&gt;&lt;P&gt;Column B is probably more complicated, because I'm assuming it uses an aggregate function other than sum, which is why you need to change the total mode. If this is the case, then the Aggr() function is needed. The Aggr() function can be a little tricky, but it should do the job. You need your original expression and also all of the dimensions in the chart. If your original expression is Count(Customers), then you would need:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Aggr(Count(Customers), Dim1, Dim2.....)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Add as many dimension fields as you have in your chart. You may need to play around with it a bit depending on your data, but Aggr() should do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2010 14:31:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-22T14:31:53Z</dc:date>
    <item>
      <title>Using Total Of Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Of-Columns/m-p/154915#M31361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;I have two columns A &amp;amp; B.&lt;/P&gt;&lt;P&gt;Column A has a total which is calculated by setting the total mode to - Expression Total&lt;/P&gt;&lt;P&gt;Column B has a total which is calculated by setting the total mode to - sum(textcount) of rows.&lt;/P&gt;&lt;P&gt;How could I use the total for column B and divide it by the total in Column A?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 14:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Of-Columns/m-p/154915#M31361</guid>
      <dc:creator />
      <dc:date>2010-10-22T14:08:47Z</dc:date>
    </item>
    <item>
      <title>Using Total Of Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Of-Columns/m-p/154916#M31362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to use these outside of the chart? Column A should be pretty easy, just take whatever aggregate function you are using and add the TOTAL modifier. If it's Sum(Sales), then Sum(TOTAL Sales) will get you the expression total.&lt;/P&gt;&lt;P&gt;Column B is probably more complicated, because I'm assuming it uses an aggregate function other than sum, which is why you need to change the total mode. If this is the case, then the Aggr() function is needed. The Aggr() function can be a little tricky, but it should do the job. You need your original expression and also all of the dimensions in the chart. If your original expression is Count(Customers), then you would need:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Aggr(Count(Customers), Dim1, Dim2.....)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Add as many dimension fields as you have in your chart. You may need to play around with it a bit depending on your data, but Aggr() should do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 14:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Of-Columns/m-p/154916#M31362</guid>
      <dc:creator />
      <dc:date>2010-10-22T14:31:53Z</dc:date>
    </item>
  </channel>
</rss>

