<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924121#M319895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you tell us the dimensions? post the sample also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 16:12:47 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2015-07-31T16:12:47Z</dc:date>
    <item>
      <title>Pivot table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924120#M319894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a pivot table and I am tying to include below expression.&lt;/P&gt;&lt;P&gt;=(If(Sum(CASE) &amp;gt;0 and PROD='C',Count(DISTINCT MATERIAL),0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression works correctly on every row, but the total is not correct. The total includes everything which is not satisfied by the if condition. Can you please let me know, the correct way? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 16:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924120#M319894</guid>
      <dc:creator />
      <dc:date>2015-07-31T16:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924121#M319895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you tell us the dimensions? post the sample also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 16:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924121#M319895</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-07-31T16:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924122#M319896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the chart level, i.e. the total level, PROD has no single value. That's why that part of the condition will never be true at the total level. If you want to sum the counts of the row levels you need to use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr((If(Sum(CASE) &amp;gt;0 and PROD='C',Count(DISTINCT MATERIAL),0)), Dim1, Dim2, ..., DimN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace Dim1, Dim2, ..., DimN with the names of the fields that you use as dimensions in your pivot table.&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 16:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924122#M319896</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-31T16:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924123#M319897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Sum(Aggr((If(Sum(CASE) &amp;gt;0 and PROD='C',Count(DISTINCT MATERIAL),0)), &lt;/STRONG&gt;YourChartDimensions&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 16:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924123#M319897</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-31T16:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924124#M319898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Settu, Sunny and Gysbert. The solution worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 02:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Total/m-p/924124#M319898</guid>
      <dc:creator />
      <dc:date>2015-08-04T02:33:01Z</dc:date>
    </item>
  </channel>
</rss>

