<?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 - show value for upper level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-show-value-for-upper-level/m-p/884252#M308377</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;In a pivot table, I am trying to show, for each register, the value of the sales for the dimension above it. Here is my table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="83173" alt="pivot.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83173_pivot.jpg" style="height: 337px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, there is a Sales (Venta) column (first one). In the second column I want to show the total sales for the upper level dimension, and as you can see, it works perfectly. In case it is not properly readable, the formula I came up with is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bottom(RangeSum(Above(TOTAL Column(1), 0, RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, my problem is that I need this behavior for ALL levels, and not only for the last one. As you can see, for the upper levels of the table, the value is not being shown/calculated. One more added problem is that the dimensions are variable so the structure shown can be different every time, replacing or eliminating some of the dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to work this out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 11:51:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-09T11:51:22Z</dc:date>
    <item>
      <title>Pivot table - show value for upper level</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-show-value-for-upper-level/m-p/884252#M308377</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;In a pivot table, I am trying to show, for each register, the value of the sales for the dimension above it. Here is my table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="83173" alt="pivot.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83173_pivot.jpg" style="height: 337px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, there is a Sales (Venta) column (first one). In the second column I want to show the total sales for the upper level dimension, and as you can see, it works perfectly. In case it is not properly readable, the formula I came up with is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bottom(RangeSum(Above(TOTAL Column(1), 0, RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, my problem is that I need this behavior for ALL levels, and not only for the last one. As you can see, for the upper levels of the table, the value is not being shown/calculated. One more added problem is that the dimensions are variable so the structure shown can be different every time, replacing or eliminating some of the dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to work this out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 11:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-show-value-for-upper-level/m-p/884252#M308377</guid>
      <dc:creator />
      <dc:date>2015-04-09T11:51:22Z</dc:date>
    </item>
  </channel>
</rss>

