<?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 sums , highest  value, Total not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502918#M1226368</link>
    <description>&lt;P&gt;Hi, using just [Units] in subtotals won't work if there are more than one value, in that case [Units] will be null, as no aggregation is specified.&lt;/P&gt;
&lt;P&gt;Maybe with this expression:&lt;/P&gt;
&lt;P&gt;Sum(Aggr(Max(TOTAL &amp;lt;[User],[Company]&amp;gt; Units),User,Company))&lt;/P&gt;</description>
    <pubDate>Sat, 25 Jan 2025 08:37:31 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2025-01-25T08:37:31Z</dc:date>
    <item>
      <title>Pivot table, Partial sums , highest  value, Total not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502912#M1226366</link>
      <description>&lt;P&gt;Hi !&lt;BR /&gt;&lt;BR /&gt;I am trying to create a Chart Pivot Table with partial sums&lt;BR /&gt;The highest value of Units are those who are interesting&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Problem Partial Sums Highest value.png" style="width: 637px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176862iD69F4553BEB1550A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Problem Partial Sums Highest value.png" alt="Problem Partial Sums Highest value.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As the Expression I use:&lt;BR /&gt;if(Units = Max(TOTAL &amp;lt;[User],[Company]&amp;gt; Units), Units, 0)&lt;BR /&gt;&lt;BR /&gt;It works fine with setting 0 value on those rows who has lower value that the highest , but the show partial sums does not work&lt;BR /&gt;How should I solve this ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The raw data , with and ordinary sum(Units) is working fine&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Working fine.png" style="width: 291px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176863i427043709D5DE68B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Working fine.png" alt="Working fine.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I enclose a Qlikview sample problem file&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 19:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502912#M1226366</guid>
      <dc:creator>separerl</dc:creator>
      <dc:date>2025-01-24T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table, Partial sums , highest  value, Total not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502915#M1226367</link>
      <description>&lt;P&gt;Use aggr function like&lt;/P&gt;
&lt;P&gt;Sum(&lt;SPAN&gt;if(Units = Max(TOTAL &amp;lt;[User],[Company]&amp;gt; Units), Units, 0))&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2025 05:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502915#M1226367</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2025-01-25T05:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table, Partial sums , highest  value, Total not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502918#M1226368</link>
      <description>&lt;P&gt;Hi, using just [Units] in subtotals won't work if there are more than one value, in that case [Units] will be null, as no aggregation is specified.&lt;/P&gt;
&lt;P&gt;Maybe with this expression:&lt;/P&gt;
&lt;P&gt;Sum(Aggr(Max(TOTAL &amp;lt;[User],[Company]&amp;gt; Units),User,Company))&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2025 08:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502918#M1226368</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-01-25T08:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table, Partial sums , highest  value, Total not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502921#M1226369</link>
      <description>&lt;P&gt;Hi !&lt;BR /&gt;Thanks very much for reply.&lt;BR /&gt;When applying the expression , I get correct sum for the Company level , but per User, it still does not calculate right&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Problem Partial Sums Highest value v2.png" style="width: 627px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176864i79B83DCE16EE15CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Problem Partial Sums Highest value v2.png" alt="Problem Partial Sums Highest value v2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2025 09:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502921#M1226369</guid>
      <dc:creator>separerl</dc:creator>
      <dc:date>2025-01-25T09:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table, Partial sums , highest  value, Total not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502922#M1226370</link>
      <description>&lt;P&gt;Forget the last posting , incorrect by me. It works with the suggested solution&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2025 09:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Partial-sums-highest-value-Total-not-working/m-p/2502922#M1226370</guid>
      <dc:creator>separerl</dc:creator>
      <dc:date>2025-01-25T09:47:46Z</dc:date>
    </item>
  </channel>
</rss>

