<?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: above(total(expression)) not prodcuing desired result. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/above-total-expression-not-prodcuing-desired-result/m-p/729658#M261407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) If you want TOTAL Salary irrespective of Department, you can use....&lt;/P&gt;&lt;P&gt;SUM(ALL salary)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SUM(TOTAL salary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If you want TOTAL Salary Department wise... use below&lt;/P&gt;&lt;P&gt;RangeSum(Above(SUM(TOTAL &amp;lt;department&amp;gt; salary),0,RowNo(TOTAL)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 08:48:35 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-09-18T08:48:35Z</dc:date>
    <item>
      <title>above(total(expression)) not prodcuing desired result.</title>
      <link>https://community.qlik.com/t5/QlikView/above-total-expression-not-prodcuing-desired-result/m-p/729657#M261406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;PFA - I have a dimension called department. I need to find various analysis using salary in the expression. When I try to find out total salary, irrespective of the department (&lt;EM&gt;means for whole organization&lt;/EM&gt;), I was left with choice to use Set Analyis. Can we also use above(total()) as an alternative?&lt;/P&gt;&lt;P&gt;I need to correct my understanding on how above(total()) works. From help file it says: " if the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; is preceded by the &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; qualifier, the current column segment is always equal to the entire column". So, my understanding is using above(total(sum(salary))) gives the total salary of the organization a whole. I am sorry I am failed to interpret the help file's line.&lt;/P&gt;&lt;P&gt;But, neither sum({1} salary) nor above(total(sum(salary))) expression gives me the correct result. Additionally, I would be highly thankful if you please explain how above(total()) works.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 08:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/above-total-expression-not-prodcuing-desired-result/m-p/729657#M261406</guid>
      <dc:creator />
      <dc:date>2014-09-18T08:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: above(total(expression)) not prodcuing desired result.</title>
      <link>https://community.qlik.com/t5/QlikView/above-total-expression-not-prodcuing-desired-result/m-p/729658#M261407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) If you want TOTAL Salary irrespective of Department, you can use....&lt;/P&gt;&lt;P&gt;SUM(ALL salary)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SUM(TOTAL salary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If you want TOTAL Salary Department wise... use below&lt;/P&gt;&lt;P&gt;RangeSum(Above(SUM(TOTAL &amp;lt;department&amp;gt; salary),0,RowNo(TOTAL)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 08:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/above-total-expression-not-prodcuing-desired-result/m-p/729658#M261407</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-18T08:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: above(total(expression)) not prodcuing desired result.</title>
      <link>https://community.qlik.com/t5/QlikView/above-total-expression-not-prodcuing-desired-result/m-p/729659#M261408</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 think you just need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(TOTAL salary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total qualifier in the sum means ignore the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 08:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/above-total-expression-not-prodcuing-desired-result/m-p/729659#M261408</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-09-18T08:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: above(total(expression)) not prodcuing desired result.</title>
      <link>https://community.qlik.com/t5/QlikView/above-total-expression-not-prodcuing-desired-result/m-p/729660#M261409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;even for 2nd answer... you don't need RangeSum...&lt;/P&gt;&lt;P&gt;You can simply write...&lt;/P&gt;&lt;P&gt;SUM(TOTAL &amp;lt;department&amp;gt; salary)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 09:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/above-total-expression-not-prodcuing-desired-result/m-p/729660#M261409</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-18T09:00:28Z</dc:date>
    </item>
  </channel>
</rss>

