<?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 in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Totals-in-Pivot-Table/m-p/56651#M790481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have recently encountered a problem with the Totals in my Pivot Table(Show Partial Sums). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my Expression which calculates Sum(Quantity) for various Dimensions:&lt;/P&gt;&lt;P&gt;if(vBillNum=1, count({&amp;lt;Flag_Actionspaket={'1'}&amp;gt;} distinct %Key_Header),sum({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Flag_Actionspaket&lt;/SPAN&gt;={'1'}&amp;gt;}Quantity)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, the Sum displayed in Pivot Table varies from Dimension to Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already learnt about using the Aggr function, but not sure how and where to implement in my case. Could some one throw some light into this topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>psk180590</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Totals in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-in-Pivot-Table/m-p/56651#M790481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have recently encountered a problem with the Totals in my Pivot Table(Show Partial Sums). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my Expression which calculates Sum(Quantity) for various Dimensions:&lt;/P&gt;&lt;P&gt;if(vBillNum=1, count({&amp;lt;Flag_Actionspaket={'1'}&amp;gt;} distinct %Key_Header),sum({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Flag_Actionspaket&lt;/SPAN&gt;={'1'}&amp;gt;}Quantity)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, the Sum displayed in Pivot Table varies from Dimension to Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already learnt about using the Aggr function, but not sure how and where to implement in my case. Could some one throw some light into this topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-in-Pivot-Table/m-p/56651#M790481</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Totals in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-in-Pivot-Table/m-p/56652#M790482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you start an Expression in pivot With if, then a total will not get calculated.&lt;/P&gt;&lt;P&gt;you need to wrap a sum around Your Expression and probably a aggr function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(vBillNum=1, count({&amp;lt;Flag_Actionspaket={'1'}&amp;gt;} distinct %Key_Header),sum({&amp;lt;&lt;SPAN style="font-size: 13.33px;"&gt;Flag_Actionspaket&lt;/SPAN&gt;={'1'}&amp;gt;}Quantity)))&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum(aggr(if(vBillNum=1, count({&amp;lt;Flag_Actionspaket={'1'}&amp;gt;} distinct %Key_Header),sum({&amp;lt;&lt;SPAN style="font-size: 13.33px;"&gt;Flag_Actionspaket&lt;/SPAN&gt;={'1'}&amp;gt;}Quantity)),Dimensionfields))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 09:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-in-Pivot-Table/m-p/56652#M790482</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2018-02-06T09:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Totals in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-in-Pivot-Table/m-p/56653#M790483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Staffan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second option with Aggr suits my requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-in-Pivot-Table/m-p/56653#M790483</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2018-02-06T10:42:08Z</dc:date>
    </item>
  </channel>
</rss>

