<?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 Totals/Aggregations on a Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Totals-Aggregations-on-a-Pivot-Table/m-p/1084448#M645008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like the below putting into a pivot table/straight table but I am unsure how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111532_Image.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would need VCV3 and VCV6 to be the totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VCV3 = VCV2 + VCV1&lt;/P&gt;&lt;P&gt;VCV6 = VCV3 + VCV4 + VCV5 + VCV6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I would like something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Ideal.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/111533_Ideal.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this something QlikView can do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2016 17:12:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-13T17:12:49Z</dc:date>
    <item>
      <title>Totals/Aggregations on a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Aggregations-on-a-Pivot-Table/m-p/1084448#M645008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like the below putting into a pivot table/straight table but I am unsure how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111532_Image.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would need VCV3 and VCV6 to be the totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VCV3 = VCV2 + VCV1&lt;/P&gt;&lt;P&gt;VCV6 = VCV3 + VCV4 + VCV5 + VCV6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I would like something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Ideal.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/111533_Ideal.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this something QlikView can do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 17:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Aggregations-on-a-Pivot-Table/m-p/1084448#M645008</guid>
      <dc:creator />
      <dc:date>2016-01-13T17:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Totals/Aggregations on a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Aggregations-on-a-Pivot-Table/m-p/1084449#M645009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, with a little qlik foo in the script. You can add an extra table that creates a new field to link the VC values to the totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ReportDim&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ReportField, FIELD, IsTotal&lt;/P&gt;&lt;P&gt;VC1, VC1, 0&lt;/P&gt;&lt;P&gt;VC2, VC2, 0&lt;/P&gt;&lt;P&gt;VC3, VC1, 1&lt;/P&gt;&lt;P&gt;VC3, VC2, 1&lt;/P&gt;&lt;P&gt;VC4, VC4, 0&lt;/P&gt;&lt;P&gt;VC5, VC5, 0&lt;/P&gt;&lt;P&gt;VC6, VC1, 1&lt;/P&gt;&lt;P&gt;VC6, VC2, 1&lt;/P&gt;&lt;P&gt;VC6, VC4, 1&lt;/P&gt;&lt;P&gt;VC6, VC5, 1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the field ReportField as dimension in your pivot table instead of FIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the IsTotal field to change the background color of the total rows and to change the text format to bold.&lt;/P&gt;&lt;P&gt;Click on the + in front of the expression, select Background color and use =if(IsTotal=1, LightGray())&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Click on the + in front of the expression, select Text Format and use =if(IsTotal=1, '&amp;lt;B&amp;gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Do the same for the dimensions.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 18:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Aggregations-on-a-Pivot-Table/m-p/1084449#M645009</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-13T18:14:01Z</dc:date>
    </item>
  </channel>
</rss>

