<?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: Accumulating in pivot Table considering not selected dates in filters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338052#M617679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Before(Sum({&amp;lt;Year&amp;gt;}Value), 0, ColumnNo())) * Avg({&amp;lt;Year = {'2016', '2017'}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you still want Year selections to be honored&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Before(Sum({&amp;lt;Year&amp;gt;}Value), 0, ColumnNo())) * Avg({&amp;lt;Year &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;*&lt;/SPAN&gt;= {'2016', '2017'}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the 2016 and 2017 to be dynamic&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;RangeSum(Before(Sum({&amp;lt;Year&amp;gt;}Value), 0, ColumnNo())) * Avg({&amp;lt;Year = {$(=Max(Year)), &lt;STRONG style="font-size: 13.3333px;"&gt;$(=Max(Year)-1)&lt;/STRONG&gt;}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;RangeSum(Before(Sum({&amp;lt;Year&amp;gt;}Value), 0, ColumnNo())) * Avg({&amp;lt;Year = {$(=Year(Today())), &lt;STRONG style="font-size: 13.3333px;"&gt;$(&lt;STRONG style="font-size: 13.3333px;"&gt;=Year(Today())&lt;/STRONG&gt;-1)&lt;/STRONG&gt;}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Apr 2017 13:01:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-04-28T13:01:18Z</dc:date>
    <item>
      <title>Accumulating in pivot Table considering not selected dates in filters</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338049#M617676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Pivot table using accumulating concept: It works!&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="161624" alt="Accumulation.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161624_Accumulation.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What am I trying?&lt;UL&gt;&lt;LI&gt;When selecting 2016 and 2017 periods, I want to consider 2015 in the calculation in order to have the correct accumulated amount. \however, I'm getting this:&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="161625" alt="Accumulation2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/161625_Accumulation2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in instead of this (what I want):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="161626" alt="Accumulation3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/161626_Accumulation3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I see it, it might be a piece of cake for you experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rubens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338049#M617676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-28T12:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulating in pivot Table considering not selected dates in filters</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338050#M617677</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;STRONG&gt;RangeSum(Before(Sum({&amp;lt;Year&amp;gt;}Value), 0, ColumnNo())) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338050#M617677</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-28T12:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulating in pivot Table considering not selected dates in filters</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338051#M617678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In my case, I want to ommit 2015 in a dimension level. However, I still want to see the the accumulated amountt considering 2015. Should I iterate on a dimension level?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rubens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338051#M617678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-28T12:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulating in pivot Table considering not selected dates in filters</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338052#M617679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Before(Sum({&amp;lt;Year&amp;gt;}Value), 0, ColumnNo())) * Avg({&amp;lt;Year = {'2016', '2017'}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you still want Year selections to be honored&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Before(Sum({&amp;lt;Year&amp;gt;}Value), 0, ColumnNo())) * Avg({&amp;lt;Year &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;*&lt;/SPAN&gt;= {'2016', '2017'}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the 2016 and 2017 to be dynamic&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;RangeSum(Before(Sum({&amp;lt;Year&amp;gt;}Value), 0, ColumnNo())) * Avg({&amp;lt;Year = {$(=Max(Year)), &lt;STRONG style="font-size: 13.3333px;"&gt;$(=Max(Year)-1)&lt;/STRONG&gt;}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;RangeSum(Before(Sum({&amp;lt;Year&amp;gt;}Value), 0, ColumnNo())) * Avg({&amp;lt;Year = {$(=Year(Today())), &lt;STRONG style="font-size: 13.3333px;"&gt;$(&lt;STRONG style="font-size: 13.3333px;"&gt;=Year(Today())&lt;/STRONG&gt;-1)&lt;/STRONG&gt;}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338052#M617679</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-28T13:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulating in pivot Table considering not selected dates in filters</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338053#M617680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem with this logic is 2015 is still being shown in the chart. Furthermore, I have to freeze how many years I want to consider in the chatt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Accumulation4.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161637_Accumulation4.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Accumulation2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/161638_Accumulation2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a chart like above, but accumulating from the past no selected periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks mate!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338053#M617680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-28T13:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulating in pivot Table considering not selected dates in filters</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338054#M617681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like it is working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161629_Capture.PNG" style="height: 234px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you not seeing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulating-in-pivot-Table-considering-not-selected-dates-in/m-p/1338054#M617681</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-28T13:42:20Z</dc:date>
    </item>
  </channel>
</rss>

