<?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 table Partial total is incorrect in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-total-is-incorrect/m-p/1369668#M418753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similar kind of issue. But i didn't understand what your analysis was. &lt;/P&gt;&lt;P&gt;My issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/263136"&gt;Show all values in Pivot/Straight Table (irrespective of current selection)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jun 2017 09:55:51 GMT</pubDate>
    <dc:creator>shanky1907</dc:creator>
    <dc:date>2017-06-07T09:55:51Z</dc:date>
    <item>
      <title>Pivot table Partial total is incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-total-is-incorrect/m-p/1369667#M418752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have read a lot of similar questions in community. But I feel my issue here is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Total number is wrong in my "REMAINING BUDGET AS OF MAY 17 " column. and the expression is listed below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;RequestStatusDescription&lt;/SPAN&gt;='CLOSED'&lt;SPAN style="color: #0000ff;"&gt;or&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RequestStatusDescription&lt;/SPAN&gt;='CLOSED AT PLANT' ,0,(&lt;SPAN style="color: #800000;"&gt;[CAPEX BUDGET CY]&lt;/SPAN&gt;+&lt;SPAN style="color: #800000;"&gt;[CAPEX BUDGET PY]&lt;/SPAN&gt;-&lt;SPAN style="color: #800000;"&gt;[TOTAL SPENT AS OF MAY 17]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And the three columns&lt;SPAN style="font-size: 8pt;"&gt;([&lt;SPAN style="color: #800000;"&gt;CAPEX BUDGET CY] , &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CAPEX BUDGET PY], &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TOTAL SPENT AS OF MAY 17]&lt;/SPAN&gt;)&lt;/SPAN&gt; shows correct total, no matter in straight table or pivot table&lt;SPAN style="font-size: 8pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am wondering the issue is with the if condition part.. (&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;RequestStatusDescription&lt;/SPAN&gt;='CLOSED'&lt;SPAN style="color: #0000ff;"&gt;or&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RequestStatusDescription&lt;/SPAN&gt;='CLOSED AT PLANT'&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIY:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt; expression in [&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;CAPEX BUDGET CY] is:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(EstimatedStartDate1&amp;gt;=dateStartYear,AFECapitalRequestAmount,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression in [&lt;SPAN style="color: #800000;"&gt;CAPEX BUDGET PY] is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum(if(EstimatedStartDate1&amp;lt;dateStartYear,AFECapitalRequestAmount,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression in &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;[TOTAL SPENT AS OF MAY 17] is&lt;/SPAN&gt; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;PostingPeriod={5},ZFIYear={$(intCurrentYear)}&amp;gt;} Amount )+&lt;BR /&gt; sum( {$&amp;lt;PostingPeriod={4},ZFIYear={$(intCurrentYear)}&amp;gt;} Amount )+&lt;BR /&gt; sum( {$&amp;lt;PostingPeriod={3},ZFIYear={$(intCurrentYear)}&amp;gt;} Amount )+&lt;BR /&gt; sum( {$&amp;lt;PostingPeriod={1},ZFIYear={$(intCurrentYear)}&amp;gt;} Amount )+&lt;BR /&gt; sum( {$&amp;lt;PostingPeriod={2},ZFIYear={$(intCurrentYear)}&amp;gt;} Amount )+sum( {$&amp;lt;ZFIYear={2016}&amp;gt;} Amount )+sum( {$&amp;lt;ZFIYear={2015}&amp;gt;} Amount )+sum( {$&amp;lt;ZFIYear={2014}&amp;gt;} Amount )&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found out the difference between wrong pivot total and right total is related to those 'CLOSED' and 'CLOSED AT PLANT' items.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165409_Capture.PNG" style="width: 620px; height: 275px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 03:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-total-is-incorrect/m-p/1369667#M418752</guid>
      <dc:creator />
      <dc:date>2017-06-01T03:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Partial total is incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-total-is-incorrect/m-p/1369668#M418753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similar kind of issue. But i didn't understand what your analysis was. &lt;/P&gt;&lt;P&gt;My issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/263136"&gt;Show all values in Pivot/Straight Table (irrespective of current selection)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 09:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-total-is-incorrect/m-p/1369668#M418753</guid>
      <dc:creator>shanky1907</dc:creator>
      <dc:date>2017-06-07T09:55:51Z</dc:date>
    </item>
  </channel>
</rss>

