<?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: Sub Totals not equalling in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918529#M651958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad it worked out for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2015 09:01:03 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-11T09:01:03Z</dc:date>
    <item>
      <title>Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918521#M651948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added an expression in my table that returns a zero based on the condition and it seems to be working ok but for some reason the column total is still including the value of the records that return zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; So I'm returning zero when ActualCostsLC - SalesActualCostslC = 0 otherwise I'm bringing in the sum of PlannedCostsLCV0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualCostsLC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)- &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SalesActualCostsLC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 0 , 0, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PlannedCostsLCV0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The report returns zero for the condition but when I add a subtotal I still get the values in the total that have been excluded&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918521#M651948</guid>
      <dc:creator />
      <dc:date>2015-08-11T08:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918522#M651950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=Sum(Aggr(if(sum(ActualCostsLC)- sum(SalesActualCostsLC) = 0 , 0, sum(PlannedCostsLCV0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)), &lt;/STRONG&gt;YourDimensions&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918522#M651950</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-11T08:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918523#M651952</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;Thanks but it didn't work, for some reason it bought in all of the values &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918523#M651952</guid>
      <dc:creator />
      <dc:date>2015-08-11T08:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918524#M651953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is strange, I would have expect the individual rows to have returned the same result, but only subtotal to add up each of the row. Are you trying to do this in a pivot table or Straight Table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918524#M651953</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-11T08:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918525#M651954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry , the values were excluded but the subtotal was the same, for the dimension in the formula I'm brining in the dimension that I'm subtotalling on ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918525#M651954</guid>
      <dc:creator />
      <dc:date>2015-08-11T08:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918526#M651955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so the individual rows are returning the same result but the total is still not working and its a pivot table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918526#M651955</guid>
      <dc:creator />
      <dc:date>2015-08-11T08:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918527#M651956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add all the dimensions and see if that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918527#M651956</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-11T08:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918528#M651957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I've got it working now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918528#M651957</guid>
      <dc:creator />
      <dc:date>2015-08-11T08:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918529#M651958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad it worked out for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 09:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918529#M651958</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-11T09:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totals not equalling</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918530#M651959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA the qvw. It may help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 09:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totals-not-equalling/m-p/918530#M651959</guid>
      <dc:creator />
      <dc:date>2015-08-11T09:04:54Z</dc:date>
    </item>
  </channel>
</rss>

