<?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: Totals not working in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Totals-not-working-in-pivot-table/m-p/40634#M6853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;Thanks so much for your help, that worked!&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2018 17:28:39 GMT</pubDate>
    <dc:creator>paul_ripley</dc:creator>
    <dc:date>2018-02-16T17:28:39Z</dc:date>
    <item>
      <title>Totals not working in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-not-working-in-pivot-table/m-p/40632#M6851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have a table that shows 643 when I just show bud2_line and costc in the pivot table and straight table.&lt;/P&gt;&lt;P&gt;I know this value should be 752&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193646_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/193647_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;When I add an extra dimension 'text' to the straight table which shows individual lines then the total suddenly becomes the correct number&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/193649_pastedImage_6.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pivot table still shows the wrong number ie the individual rows add up to 752 in the pivot table not 643&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/193648_pastedImage_5.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;period&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(vStartPeriod_CY)&amp;lt;=$(vEndPeriod_CY)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;bud2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;0"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DataSource&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Agresso"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;} &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vCurrency)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Could you please help me understand why &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;a) the straight table total only works with the Text dimension added&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;b) why the pivot table doesn't work at all even when I add the text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Paul&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 17:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-not-working-in-pivot-table/m-p/40632#M6851</guid>
      <dc:creator>paul_ripley</dc:creator>
      <dc:date>2018-02-16T17:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Totals not working in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-not-working-in-pivot-table/m-p/40633#M6852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;period = {"&amp;gt;=$(vStartPeriod_CY)&amp;lt;=$(vEndPeriod_CY)"}, &lt;/STRONG&gt;&lt;STRONG&gt;bud2 = {"&amp;gt;0"}, &lt;/STRONG&gt;&lt;STRONG&gt;DataSource = {"Agresso"}&lt;/STRONG&gt;&lt;STRONG&gt;&amp;gt;} $(vCurrency))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, bud2_line, text, costc))&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 17:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-not-working-in-pivot-table/m-p/40633#M6852</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-16T17:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Totals not working in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-not-working-in-pivot-table/m-p/40634#M6853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;Thanks so much for your help, that worked!&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 17:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-not-working-in-pivot-table/m-p/40634#M6853</guid>
      <dc:creator>paul_ripley</dc:creator>
      <dc:date>2018-02-16T17:28:39Z</dc:date>
    </item>
  </channel>
</rss>

