<?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 Pivot Table, Aggr and above functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Aggr-and-above-functions/m-p/220048#M72996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Eperts&lt;/P&gt;&lt;P&gt;I have a very simple pivot table shown below. I have made this pivot table using the data below in the table box.&lt;/P&gt;&lt;H4&gt;Basically I need to use the formula in the 6th column which is =above(total(sum(F4))). I need to use the value which will come out of this formula. The values are coming perfectly fine. this formula is just getting the above value of column 4.&lt;/H4&gt;&lt;H4&gt;If I use this formula and turn on the partial sum then I dont get any values in the partial sum as you can see in the snapshot. After searching alot about this problem I got to know that in order to get partial sum value i need to use Aggr function.&lt;/H4&gt;&lt;P&gt;So, now I am trying to get the exact same result is I am getting through =above(total(sum(F4))) but using aggr(7th column).&lt;/P&gt;&lt;P&gt;the formula using aggr is =sum(aggr(above(total(sum(F4))),F1,F2,F3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Using aggr I am getting the values and partial sum but the order is not correct. I want to see the values in the order i have in column 6. Can anyone please help why I am getting result in this strange order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waqas&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3047_sourceID:3047" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2010 11:55:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-12-10T11:55:55Z</dc:date>
    <item>
      <title>Pivot Table, Aggr and above functions</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Aggr-and-above-functions/m-p/220048#M72996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Eperts&lt;/P&gt;&lt;P&gt;I have a very simple pivot table shown below. I have made this pivot table using the data below in the table box.&lt;/P&gt;&lt;H4&gt;Basically I need to use the formula in the 6th column which is =above(total(sum(F4))). I need to use the value which will come out of this formula. The values are coming perfectly fine. this formula is just getting the above value of column 4.&lt;/H4&gt;&lt;H4&gt;If I use this formula and turn on the partial sum then I dont get any values in the partial sum as you can see in the snapshot. After searching alot about this problem I got to know that in order to get partial sum value i need to use Aggr function.&lt;/H4&gt;&lt;P&gt;So, now I am trying to get the exact same result is I am getting through =above(total(sum(F4))) but using aggr(7th column).&lt;/P&gt;&lt;P&gt;the formula using aggr is =sum(aggr(above(total(sum(F4))),F1,F2,F3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Using aggr I am getting the values and partial sum but the order is not correct. I want to see the values in the order i have in column 6. Can anyone please help why I am getting result in this strange order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waqas&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3047_sourceID:3047" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 11:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Aggr-and-above-functions/m-p/220048#M72996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-10T11:55:55Z</dc:date>
    </item>
  </channel>
</rss>

