<?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 Accumulative Totals in a Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925311#M527551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with two dimensions Product and Month, an expression for the current year sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM( { &amp;lt;Year={$(=year(today()))}&amp;nbsp; &amp;gt; } Sales )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a second expression to get the aggregated sales by month but I can't type the correct expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102515_Image.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you mind give me a little help, please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joaquín&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2015 08:45:23 GMT</pubDate>
    <dc:creator>Joaquin_Lazaro</dc:creator>
    <dc:date>2015-10-20T08:45:23Z</dc:date>
    <item>
      <title>Accumulative Totals in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925311#M527551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with two dimensions Product and Month, an expression for the current year sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM( { &amp;lt;Year={$(=year(today()))}&amp;nbsp; &amp;gt; } Sales )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a second expression to get the aggregated sales by month but I can't type the correct expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102515_Image.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you mind give me a little help, please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joaquín&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 08:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925311#M527551</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2015-10-20T08:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative Totals in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925312#M527552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joaquin, you can use:&lt;/P&gt;&lt;P&gt;RangeSum(Above(SUM({&amp;lt;Year={$(=year(today()))}&amp;gt;} Sales), 0, RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using above will disable the option to sort the table double-clicking the header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use the same expression you're using in 'Current Year' but checking 'Full Accumulation' below the expression list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 08:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925312#M527552</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-20T08:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative Totals in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925313#M527553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM( { &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year={$(=year(today()))}&lt;/SPAN&gt;,Month={$(&amp;gt;=max(Month))}&amp;nbsp; &amp;gt; } Sales )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 08:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925313#M527553</guid>
      <dc:creator>ahmar811</dc:creator>
      <dc:date>2015-10-20T08:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative Totals in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925314#M527554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't check the Full Accumulation option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Joaquín&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 08:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925314#M527554</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2015-10-20T08:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative Totals in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925315#M527555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Ahmar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 08:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925315#M527555</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2015-10-20T08:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative Totals in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925316#M527556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, it's not available in pivot table, I saw the image and thought in a straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pivot tables may cause issues with above() if user can expand/collapse the rows, try it before confirm as it's working and consider if 'always expanded' (in presentation tab) is an option you can apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And maybe you need to add a TOTAL to rowno:&lt;/P&gt;&lt;P&gt;RangeSum(Above(SUM({&amp;lt;Year={$(=year(today()))}&amp;gt;} Sales), 0, RowNo(&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 09:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925316#M527556</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-20T09:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative Totals in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925317#M527557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ruben:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total row is always 0, collapsed or not with or without RowNo(Total)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 09:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925317#M527557</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2015-10-20T09:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative Totals in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925318#M527558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if there is a better way but you can use dimensionality() to avoid that:&lt;/P&gt;&lt;P&gt;If(Dimensionality()=0, SUM({&amp;lt;Year={$(=year(today()))}&amp;gt;} Sales),&lt;/P&gt;&lt;P&gt; RangeSum(Above(SUM({&amp;lt;Year={$(=year(today()))}&amp;gt;} Sales), 0, RowNo()))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 09:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925318#M527558</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-20T09:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative Totals in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925319#M527559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two dimensions, it works wtih &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(Dimensionality()&amp;lt;=1 ... &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 09:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-Totals-in-a-Pivot-Table/m-p/925319#M527559</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2015-10-20T09:23:14Z</dc:date>
    </item>
  </channel>
</rss>

