<?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 total not working correctly in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1648826#M48366</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I am attaching the test_delete.qvf with sample data.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2019 05:24:28 GMT</pubDate>
    <dc:creator>rajatsingh_40</dc:creator>
    <dc:date>2019-11-20T05:24:28Z</dc:date>
    <item>
      <title>Pivot table total not working correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1648438#M48327</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I am working on&amp;nbsp; ageing report, where I have created 3 input boxes to get the bucket values by the user and they have by default values.&lt;BR /&gt;so I created a Pivot Table like this,&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="12..PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23933i1205189D688AAB2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="12..PNG" alt="12..PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;the problem is that the total function does not adds the column values correctly, as you can see for bucket 50-120 days and 120&amp;gt;days columns.&lt;BR /&gt;however its working fine when i convert it to straight table.&lt;BR /&gt;please help me in this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am using this expression for last column i.e 120&amp;gt;days,&lt;/P&gt;&lt;P&gt;"if(Sum(Aggr(sum( {&amp;lt;duedays = {"&amp;gt;=$(Vbucket3)"}&amp;gt;} DebitAmount ),[region]))+sum(Aggr(sum([CreditAmount]),[region]))&amp;gt;=0,&lt;BR /&gt;Sum(Aggr(sum( {&amp;lt;duedays = {"&amp;gt;=$(Vbucket3)"}&amp;gt;} DebitAmount ),[region]))+sum(Aggr(sum([CreditAmount]),[region]))&lt;BR /&gt;,0)"&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1648438#M48327</guid>
      <dc:creator>rajatsingh_40</dc:creator>
      <dc:date>2024-11-16T04:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table total not working correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1648507#M48338</link>
      <description>&lt;P&gt;This might be challenging because you are using a calculated dimension... if it was a simple dimension... you could have used Sum(Aggr(YourExpression, YourDimensions)), but because it is using a calculated dimension in the chart, you cannot add this to Aggr() function's dimension....&lt;/P&gt;&lt;P&gt;Would you be able to share a sample where we can look at this and try out few things?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 12:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1648507#M48338</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-19T12:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table total not working correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1648826#M48366</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am attaching the test_delete.qvf with sample data.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 05:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1648826#M48366</guid>
      <dc:creator>rajatsingh_40</dc:creator>
      <dc:date>2019-11-20T05:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table total not working correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1649058#M48388</link>
      <description>&lt;P&gt;Check attached&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24059i16A05B719717599B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 12:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1649058#M48388</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-20T12:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table total not working correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1649394#M48424</link>
      <description>&lt;P&gt;Thank you for your help Sunny, Aggr() really helped me in the report.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 04:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-total-not-working-correctly/m-p/1649394#M48424</guid>
      <dc:creator>rajatsingh_40</dc:creator>
      <dc:date>2019-11-21T04:18:04Z</dc:date>
    </item>
  </channel>
</rss>

