<?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: How do I use an expression column total in Row calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-use-an-expression-column-total-in-Row-calculation/m-p/455131#M489558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use other columns like that in expressions. You have to use the fields in expression. Here I create three columns D,E and F that all three use field Sales in an expression. F calculates the sum(Sales) divided by the overall average of Sales over all dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; sum(Sales)&lt;/P&gt;&lt;P&gt;E: avg(Sales)&lt;/P&gt;&lt;P&gt;F: sum(Sales)/avg(total Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you figure out how to achieve what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2012 16:59:13 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2012-10-25T16:59:13Z</dc:date>
    <item>
      <title>How do I use an expression column total in Row calculation</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-use-an-expression-column-total-in-Row-calculation/m-p/455130#M489557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlik view so this question may be basic but I have not found anything that works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a Straight table that has&lt;/P&gt;&lt;P&gt;Demension A, B, C and &lt;/P&gt;&lt;P&gt;Expressions D, E, F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is use the Average of all values in column F as part of a calculation to create new column G..&lt;/P&gt;&lt;P&gt;If I were doing this in a spreadsheet Cell G2 it would look like this:&amp;nbsp; "=D2 - SUM(F:F)", Cell G3 would be "=D3 - SUM(F:F)", etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 16:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-use-an-expression-column-total-in-Row-calculation/m-p/455130#M489557</guid>
      <dc:creator />
      <dc:date>2012-10-25T16:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use an expression column total in Row calculation</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-use-an-expression-column-total-in-Row-calculation/m-p/455131#M489558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use other columns like that in expressions. You have to use the fields in expression. Here I create three columns D,E and F that all three use field Sales in an expression. F calculates the sum(Sales) divided by the overall average of Sales over all dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; sum(Sales)&lt;/P&gt;&lt;P&gt;E: avg(Sales)&lt;/P&gt;&lt;P&gt;F: sum(Sales)/avg(total Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you figure out how to achieve what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 16:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-use-an-expression-column-total-in-Row-calculation/m-p/455131#M489558</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-25T16:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use an expression column total in Row calculation</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-use-an-expression-column-total-in-Row-calculation/m-p/455132#M489559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You much - The problem was it was too simple.&amp;nbsp; I was looking for a complicated answere when all I needed was the "Total" function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 22:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-use-an-expression-column-total-in-Row-calculation/m-p/455132#M489559</guid>
      <dc:creator />
      <dc:date>2012-10-25T22:11:02Z</dc:date>
    </item>
  </channel>
</rss>

