<?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: Accumulation by specific dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763076#M271300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An overall accumulation is not exactly what I'm looking for.&lt;/P&gt;&lt;P&gt;I want to accumulate by year even if I have more than 2 dimensions in the pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2015 03:25:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-26T03:25:57Z</dc:date>
    <item>
      <title>Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763072#M271296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you check the attached app that describes my request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to accumulate the sales by year.&lt;/P&gt;&lt;P&gt;The report is by Year, Quarter.&lt;/P&gt;&lt;P&gt;But when I add a 3rd dimension, like month, the accumulation breaks at the change of quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final expression (that I'll apply in the real scenario) should work regardless of the number of dimensions in the report and the number of dimensions to accumulate by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2015 12:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763072#M271296</guid>
      <dc:creator />
      <dc:date>2015-01-25T12:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763073#M271297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Pay attention because in the full table (Year, Quartre, Month) Rowno() goes from 1 to 3, so at the change of Quarter the above function restart the rangesum function and you lose the cumulation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2015 14:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763073#M271297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-25T14:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763074#M271298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed what you mentioned is already observed &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;And what I'm looking for is a tweak/solution to be able to accumulate as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2015 16:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763074#M271298</guid>
      <dc:creator />
      <dc:date>2015-01-25T16:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763075#M271299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get a complete accumulation over all lines, you have to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Sales) + RangeSum(Above(Total Sum(Sales),1,RowNo(TOTAL)-1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or without incorrect subtotals:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality()=0 or Dimensionality()=Max(Dimensionality()), sum(Sales) + RangeSum(Above(Total Sum(Sales),1,RowNo(TOTAL)-1)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2015 18:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763075#M271299</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2015-01-25T18:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763076#M271300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An overall accumulation is not exactly what I'm looking for.&lt;/P&gt;&lt;P&gt;I want to accumulate by year even if I have more than 2 dimensions in the pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 03:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763076#M271300</guid>
      <dc:creator />
      <dc:date>2015-01-26T03:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763077#M271301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any hint ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 09:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763077#M271301</guid>
      <dc:creator />
      <dc:date>2015-01-26T09:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763078#M271302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 14:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763078#M271302</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-01-26T14:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763079#M271303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's accumulating the sales overall.&lt;/P&gt;&lt;P&gt;I need to accumulate by Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx anyways &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 14:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763079#M271303</guid>
      <dc:creator />
      <dc:date>2015-01-26T14:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763080#M271304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this, you need an indicator if dimension Year changed - depends on the last dimension Month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(min(Month),Year) -&amp;gt; has only a value for the first month in year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new expression needs a name because of recursive calling - AccuByYear:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(aggr(min(Month),Year)&amp;gt;0,SumSales,SumSales+Above(Total AccuByYear))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 21:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763080#M271304</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2015-01-26T21:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation by specific dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763081#M271305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No doubt your solution moved us closer.&lt;/P&gt;&lt;P&gt;But when we try to apply same in our scenario (having strings and not only numbers), we're facing some issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please check the attached app ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we need is to be able to sort the pivot table by these fields in order (noting that ar_duedate2 is numeric and ar_duedate is formatted as date dd/mm/yyyy):&lt;/P&gt;&lt;P&gt;customer asc,&lt;/P&gt;&lt;P&gt;type (invoiced then unapplied),&lt;/P&gt;&lt;P&gt;routing (routingcode asc),&lt;/P&gt;&lt;P&gt;due date asc,&lt;/P&gt;&lt;P&gt;doc no asc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the accumulation to be done by customer and type (so to have the accumulation restart on change of customer or type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate yours and other community members help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 10:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-by-specific-dimensions/m-p/763081#M271305</guid>
      <dc:creator />
      <dc:date>2015-02-11T10:43:38Z</dc:date>
    </item>
  </channel>
</rss>

