<?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: Using Total of Column in an Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490402#M183157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the expression of your sixth column ?&lt;/P&gt;&lt;P&gt;You have to add the TOTAL keyword to obtain the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For exemple, if your expression is sum(TurnOver) for the 6th column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just have to write something like this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;(Column (3) + Column (4) + Column (5)) / Sum(TOTAL TurnOver) *100&lt;/EM&gt;&lt;/SPAN&gt;&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;Hope that helps you&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;&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;Martin Favier&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jan 2014 21:06:34 GMT</pubDate>
    <dc:creator>martin59</dc:creator>
    <dc:date>2014-01-09T21:06:34Z</dc:date>
    <item>
      <title>Using Total of Column in an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490401#M183156</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;&amp;nbsp; I have a straight table with a total column that is calculated with the following expression:&lt;/P&gt;&lt;P&gt; Column (3) + Column (4) + Column (5). I attached the straight table. I am trying to add one more column that uses the Total of the calculated column divide by the total of the line. This would give a percentage of the total. Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1623919.8 / 9391684.39 * 100 = 17.29%&lt;/P&gt;&lt;P&gt;301618.59 / 9391684.39 * 100 = 3.2 %&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I am having is getting the total of the column(9391684) in my expression. Any ideas? Seemed simple but I am missing something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 20:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490401#M183156</guid>
      <dc:creator>dthornburg</dc:creator>
      <dc:date>2014-01-09T20:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total of Column in an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490402#M183157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the expression of your sixth column ?&lt;/P&gt;&lt;P&gt;You have to add the TOTAL keyword to obtain the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For exemple, if your expression is sum(TurnOver) for the 6th column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just have to write something like this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;(Column (3) + Column (4) + Column (5)) / Sum(TOTAL TurnOver) *100&lt;/EM&gt;&lt;/SPAN&gt;&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;Hope that helps you&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;&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;Martin Favier&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 21:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490402#M183157</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2014-01-09T21:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total of Column in an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490403#M183158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hope this is what you are looking for. &lt;/P&gt;&lt;P&gt;Please take a look at the Expression '%'. I have used sum as an example. Hope it works for your case as well.&lt;/P&gt;&lt;P&gt;Let me know if it doesn't meet your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 21:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490403#M183158</guid>
      <dc:creator />
      <dc:date>2014-01-09T21:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total of Column in an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490404#M183159</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;&amp;nbsp; Neither one of these are giving me a result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current calculation is below just trying to simplify :&lt;/P&gt;&lt;P&gt;Column (6) / sum(total E)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6th Column calculation is - Column (3) + Column (4) + Column (5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have the Totals printing at the top. They are in bold. I want to use that total of column 6 in the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 13:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490404#M183159</guid>
      <dc:creator>dthornburg</dc:creator>
      <dc:date>2014-01-10T13:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total of Column in an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490405#M183160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Duck ,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;(column(1)+Column(2)+Column(3))sum(total aggr((column(1)+Column(2)+Column(3)),Dimension1,Dimension2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this and let me know , if not getting try using each and every column by aggr()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 13:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490405#M183160</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-01-10T13:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total of Column in an Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490406#M183161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you send us a sample of your QV app or your expression for the sixth column ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin Favier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 17:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-of-Column-in-an-Expression/m-p/490406#M183161</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2014-01-10T17:23:54Z</dc:date>
    </item>
  </channel>
</rss>

