<?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 Sum in Pivot Table using Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-in-Pivot-Table-using-Set-Analysis/m-p/150422#M589896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Yes, yet another question about set analysis and pivot tables - this time i want to show the sum of all values in a column.&lt;/P&gt;&lt;P&gt;This is my formula:&lt;/P&gt;&lt;P&gt;=If(GLLedger = 'N',Sum({$&amp;lt;Month =&amp;gt;} If(InYearToDate(GLTranDate, vMaxDate, 0, 7), GLTranAmount)))&lt;/P&gt;&lt;P&gt;This sums at partial sum levels but not as a grand total. I've tried to re-arrange the formula to nest the IF statement inside the Sum statement, but this does not work.&lt;/P&gt;&lt;P&gt;I look forward to reading Oleg's post about Flags which would presumably solve this, but is there a simpler and easier way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2009 07:49:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-28T07:49:43Z</dc:date>
    <item>
      <title>Sum in Pivot Table using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-Pivot-Table-using-Set-Analysis/m-p/150422#M589896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Yes, yet another question about set analysis and pivot tables - this time i want to show the sum of all values in a column.&lt;/P&gt;&lt;P&gt;This is my formula:&lt;/P&gt;&lt;P&gt;=If(GLLedger = 'N',Sum({$&amp;lt;Month =&amp;gt;} If(InYearToDate(GLTranDate, vMaxDate, 0, 7), GLTranAmount)))&lt;/P&gt;&lt;P&gt;This sums at partial sum levels but not as a grand total. I've tried to re-arrange the formula to nest the IF statement inside the Sum statement, but this does not work.&lt;/P&gt;&lt;P&gt;I look forward to reading Oleg's post about Flags which would presumably solve this, but is there a simpler and easier way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 07:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-Pivot-Table-using-Set-Analysis/m-p/150422#M589896</guid>
      <dc:creator />
      <dc:date>2009-07-28T07:49:43Z</dc:date>
    </item>
    <item>
      <title>Sum in Pivot Table using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-Pivot-Table-using-Set-Analysis/m-p/150423#M589897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&lt;BR /&gt;Try this, I'm using something close to it in my recent application:&lt;BR /&gt;=sum({$&amp;lt;GLLedger='N', Month =&amp;gt;} if(InYearToDate(GLTranDate, vMaxDate, 0, 7), GLTranAmount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 07:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-Pivot-Table-using-Set-Analysis/m-p/150423#M589897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-28T07:59:00Z</dc:date>
    </item>
    <item>
      <title>Sum in Pivot Table using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-Pivot-Table-using-Set-Analysis/m-p/150424#M589898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Michael,&lt;/P&gt;&lt;P&gt;I've tested your formula and I lose the YTD values in the column with all rows defaulting to $0.00.&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 08:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-Pivot-Table-using-Set-Analysis/m-p/150424#M589898</guid>
      <dc:creator />
      <dc:date>2009-07-28T08:14:13Z</dc:date>
    </item>
    <item>
      <title>Sum in Pivot Table using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-Pivot-Table-using-Set-Analysis/m-p/150425#M589899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is all about the nesting of the formula.&lt;/P&gt;&lt;P&gt;Below is the solution:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Month =&amp;gt;} If(InYearToDate(GLTranDate, vMaxDate, 0, 7), If(GLLedger = 'Y',GLTranAmount)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 14:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-Pivot-Table-using-Set-Analysis/m-p/150425#M589899</guid>
      <dc:creator />
      <dc:date>2009-07-28T14:42:48Z</dc:date>
    </item>
  </channel>
</rss>

