<?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 Sum and Pivot Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-and-Pivot-Tables/m-p/175498#M43918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was hoping someone could point me in the right direction. I have a pivot table and I'm trying to get the sum of estimated revenue for different events for various business units. Since events can span multiple months, I only want to show the estimated revenue for the month/year selected by the user. For example, if a show for a given business goes from 4/30/2010 - 5/2/2010 and has an estimated revenue of 30k, when a user has selected May of 2010 in the selection criteria, the estimated revenue for the selected month should display 20k (10k average per day * 2 days in May). Here is the formula that I am using to get these values:&lt;/P&gt;&lt;P&gt;(((EstimatedRevenue) / ((EventEndDate - EventStartDate) + 1)) * COUNT(UtilizationDays))&lt;/P&gt;&lt;P&gt;The formula works correctly but there aren't any subtotals or grand totals in this column of the pivot table. I believe the problem is that there are multiple business units and each can have multiple shows. I tried using the sum functions in different parts of the formula, but it either doesn't show the subtotals/grand totals or the values of the estimated revenue displays '-'. Does anyone know what I need to do to make this pivot table work?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;IMG src="file:/C:/DOCUME~1/MHENNI~1/LOCALS~1/Temp/moz-screenshot-2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="file:/C:/DOCUME~1/MHENNI~1/LOCALS~1/Temp/moz-screenshot-3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jun 2010 18:56:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-03T18:56:58Z</dc:date>
    <item>
      <title>Sum and Pivot Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Pivot-Tables/m-p/175498#M43918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was hoping someone could point me in the right direction. I have a pivot table and I'm trying to get the sum of estimated revenue for different events for various business units. Since events can span multiple months, I only want to show the estimated revenue for the month/year selected by the user. For example, if a show for a given business goes from 4/30/2010 - 5/2/2010 and has an estimated revenue of 30k, when a user has selected May of 2010 in the selection criteria, the estimated revenue for the selected month should display 20k (10k average per day * 2 days in May). Here is the formula that I am using to get these values:&lt;/P&gt;&lt;P&gt;(((EstimatedRevenue) / ((EventEndDate - EventStartDate) + 1)) * COUNT(UtilizationDays))&lt;/P&gt;&lt;P&gt;The formula works correctly but there aren't any subtotals or grand totals in this column of the pivot table. I believe the problem is that there are multiple business units and each can have multiple shows. I tried using the sum functions in different parts of the formula, but it either doesn't show the subtotals/grand totals or the values of the estimated revenue displays '-'. Does anyone know what I need to do to make this pivot table work?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;IMG src="file:/C:/DOCUME~1/MHENNI~1/LOCALS~1/Temp/moz-screenshot-2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="file:/C:/DOCUME~1/MHENNI~1/LOCALS~1/Temp/moz-screenshot-3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 18:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Pivot-Tables/m-p/175498#M43918</guid>
      <dc:creator />
      <dc:date>2010-06-03T18:56:58Z</dc:date>
    </item>
  </channel>
</rss>

