<?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: Total in pivot table not correct in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8661#M1337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2018 11:26:57 GMT</pubDate>
    <dc:creator>parthesh</dc:creator>
    <dc:date>2018-03-26T11:26:57Z</dc:date>
    <item>
      <title>Total in pivot table not correct</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8658#M1334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Pivot table with 3 dimensions and 1 measure &lt;/P&gt;&lt;P&gt;In the measure (quantity)I have this definition&lt;/P&gt;&lt;P&gt;if(W1TEXT = 'Beginstock',&amp;nbsp; sum({ $ &amp;lt;KeyDatum = {$(vMindate)}&amp;nbsp;&amp;nbsp; &amp;gt;}W1HOEV), if(W1TEXT = 'Eindstock',&amp;nbsp; sum({ $ &amp;lt;KeyDatum = {$(vMaxdate)}&amp;nbsp;&amp;nbsp; &amp;gt;}W1HOEV),sum(W1HOEV))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values in the table are correct.&lt;/P&gt;&lt;P&gt;Only the total is the value of sum(W1HOEV) (Quantity Temp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Who can help me with the correct Total?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="total111.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197461_total111.JPG" style="height: 235px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 10:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8658#M1334</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2018-03-26T10:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Total in pivot table not correct</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8659#M1335</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;The pivot table is showing individual values per dimension. The most likely reason you are seeing these is that instances are duplicated (not unique) and is therefore summing up to a higher value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 10:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8659#M1335</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2018-03-26T10:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Total in pivot table not correct</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8660#M1336</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 for your quick support.&lt;/P&gt;&lt;P&gt;And how can I solve this issue?&lt;/P&gt;&lt;P&gt;The total mode is grayed out So I can't sit this to Sum of rows.&lt;/P&gt;&lt;P&gt;Can I do some thing in the expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 11:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8660#M1336</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2018-03-26T11:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Total in pivot table not correct</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8661#M1337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 11:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8661#M1337</guid>
      <dc:creator>parthesh</dc:creator>
      <dc:date>2018-03-26T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Total in pivot table not correct</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8662#M1338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the app.&lt;/P&gt;&lt;P&gt;The total should be correct for every view.&lt;/P&gt;&lt;P&gt;If I only see 3 dimensions it should also be corect if possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8662#M1338</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2018-03-26T12:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Total in pivot table not correct</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8663#M1339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;KeyDatum = {$(vMindate)}, W1TEXT *= {'Beginstock'}&amp;gt;}W1HOEV),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;KeyDatum = {$(vMaxdate)}, W1TEXT *= {'Eindstock'}&amp;gt;}W1HOEV),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;W1TEXT -= {'Beginstock', 'Eindstock'}&amp;gt;}W1HOEV))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and other one is to&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(if(W1TEXT = 'Beginstock',&amp;nbsp; sum({ $ &amp;lt;KeyDatum = {$(vMindate)}&amp;nbsp;&amp;nbsp; &amp;gt;}W1HOEV), if(W1TEXT = 'Eindstock',&amp;nbsp; sum({ $ &amp;lt;KeyDatum = {$(vMaxdate)}&amp;nbsp;&amp;nbsp; &amp;gt;}W1HOEV),sum(W1HOEV))), StationAlles, W1OMAR, W1TEXT, _CalYear, _CalMonth, _CalDay))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm"&gt;http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197484_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8663#M1339</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-26T12:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Total in pivot table not correct</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8664#M1340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These both seem to work.&lt;/P&gt;&lt;P&gt;Which should I take?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8664#M1340</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2018-03-26T12:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Total in pivot table not correct</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8665#M1341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest using the 1st option unless you see it causing problems... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8665#M1341</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-26T12:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Total in pivot table not correct</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8666#M1342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, Thanks for the quick help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-pivot-table-not-correct/m-p/8666#M1342</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2018-03-26T12:42:58Z</dc:date>
    </item>
  </channel>
</rss>

