<?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: Pivot total with calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625047#M229942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The usual "Show Subtotals" setting (Presentation tab) should still work, despite the calculated dimension. Are there any hidden issues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Feb 2014 21:56:21 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2014-02-24T21:56:21Z</dc:date>
    <item>
      <title>Pivot total with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625046#M229941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with 2 dimensions: "Year", and a calculated dimension. I need to add a total row at the bottom of the table (sum of all the rows in the table). Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 21:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625046#M229941</guid>
      <dc:creator />
      <dc:date>2014-02-24T21:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot total with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625047#M229942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The usual "Show Subtotals" setting (Presentation tab) should still work, despite the calculated dimension. Are there any hidden issues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 21:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625047#M229942</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2014-02-24T21:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot total with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625048#M229943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg, the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"Show Subtotals" is on, but the totals are incorrect....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 21:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625048#M229943</guid>
      <dc:creator />
      <dc:date>2014-02-24T21:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot total with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625049#M229944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This maybe be caused by the nature of your expression. The "totals" in the pivot table are always evaluating the same expression at the higher level of aggregation, and that's not always "correct" or the result that you expected to see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "common" solution is to use AGGR and to force the calculation at a certain level of detail, before aggregating up. This is impossible to do with a calculated dimension. I see two options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If the calculated dimension can be uniquely identified with a single field, than that single field could be used in the AGGR, instead of the calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Otherwise, look for a way to avoid the calculated dimension and replace it with a static dimension, calculated in the script. Calculated dimensions are bad for performance anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If none of those options are feasible, then it may not be possible to add a total line at the bottom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Check out my lecture on Set Analysis and Advanced Aggregation at the Masers Summit in Chicago!&lt;/P&gt;&lt;P&gt;www.masterssummit.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 22:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625049#M229944</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2014-02-24T22:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot total with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625050#M229945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You solved the problem. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 22:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total-with-calculated-dimension/m-p/625050#M229945</guid>
      <dc:creator />
      <dc:date>2014-02-24T22:10:54Z</dc:date>
    </item>
  </channel>
</rss>

