<?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: Accumulative sum sort-by-dimension problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472755#M559430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changes 2 things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Load Order of month chronological&lt;/P&gt;&lt;P&gt;- expression to&lt;/P&gt;&lt;P&gt;=aggr(&lt;/P&gt;&lt;P&gt; rangesum( above( Sum({&amp;lt;month= &amp;gt;} actual),0,12) ) &lt;/P&gt;&lt;P&gt; / rangesum( above( Sum({&amp;lt;month= &amp;gt;} budget),0,12) )&lt;/P&gt;&lt;P&gt; ,product, month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 May 2013 17:23:34 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-05-19T17:23:34Z</dc:date>
    <item>
      <title>Accumulative sum sort-by-dimension problem</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472752#M559427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I've created an accumulated field as shown in the pic 1 to show the %-of-accumulation along the months. Expression is on pic 2. It goes well.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41309" class="jive-image-thumbnail jive-image" onclick="" alt="1.jpg" src="https://community.qlik.com/legacyfs/online/41309_1.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41310" class="jive-image-thumbnail jive-image" onclick="" alt="3.jpg" src="https://community.qlik.com/legacyfs/online/41310_3.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;What I'd like to show is, &lt;STRONG&gt;when a month is selected it'll show the progress/accumulated percentage as in the table shown&lt;/STRONG&gt;. However, when i click (sort) by month (dimension), it's not showing the accumulated percentage, but only the division data per month, which make it look like over-budget. See pic 3. I'd like to, when i clicked 'DESEMBER' or month 12, it shows 99.94% instead of 111.16%.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41312" class="jive-image-thumbnail jive-image" onclick="" alt="2.jpg" src="https://community.qlik.com/legacyfs/online/41312_2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I've tried aggregation by dimension, rowno(TOTAL), as suggested &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/tags/accumulation"&gt;here&lt;/A&gt; and &lt;A _jive_internal="true" href="https://community.qlik.com/thread/49551"&gt;here&lt;/A&gt; the result is the same, it can accumulated well in field, but showing not-accumulated-result when sort by dimension. Any idea, please? Thanks for your all concern.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 13:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472752#M559427</guid>
      <dc:creator />
      <dc:date>2013-05-19T13:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum sort-by-dimension problem</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472753#M559428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be possible to do what your require like discussed &lt;A _jive_internal="true" href="https://community.qlik.com/message/245768#245768"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take care that the aggr() dimension values have same load order as the sort order you require in your table (Your month load order should be chronological).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can post a small sample, this will help us to help you with the syntax of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 14:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472753#M559428</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-05-19T14:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum sort-by-dimension problem</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472754#M559429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, and yes &lt;A _jive_internal="true" href="https://community.qlik.com/message/245768#245768"&gt;it&lt;/A&gt; was the same problem i'm facing.&lt;/P&gt;&lt;P&gt;I created sample and tried to put your sugested expressions (see the sample), yet it still didn't show the correct %-of accumulation, both sorted by dimension(s) or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression(s): &lt;/P&gt;&lt;P&gt;1. my prev expression show correct % if not sorted by dimension(s)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=rangesum( above( Sum(actual),0,12) ) /rangesum( above( Sum(budget),0,12) ) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. this expression show the same result as no. 1 if sorted by month (111.&lt;/P&gt;&lt;P&gt;=aggr(rangesum(above(total sum({1} actual) &lt;/P&gt;&lt;P&gt;/ sum({1}budget),0,RowNo(TOTAL))),product,month)&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;=aggr(rangesum(above(total sum({1} actual) &lt;/P&gt;&lt;P&gt;/ sum({1}budget),0,RowNo(TOTAL))),month,product)&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;3. the other expressions not showing the result (NULL).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 16:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472754#M559429</guid>
      <dc:creator />
      <dc:date>2013-05-19T16:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum sort-by-dimension problem</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472755#M559430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changes 2 things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Load Order of month chronological&lt;/P&gt;&lt;P&gt;- expression to&lt;/P&gt;&lt;P&gt;=aggr(&lt;/P&gt;&lt;P&gt; rangesum( above( Sum({&amp;lt;month= &amp;gt;} actual),0,12) ) &lt;/P&gt;&lt;P&gt; / rangesum( above( Sum({&amp;lt;month= &amp;gt;} budget),0,12) )&lt;/P&gt;&lt;P&gt; ,product, month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 17:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472755#M559430</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-05-19T17:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum sort-by-dimension problem</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472756#M559431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again Stefan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot to mention that in my load order, it already sort/order chronologically by month 1-12, per product, as I copied in the LOAD * INLINE on sample. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 17:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472756#M559431</guid>
      <dc:creator />
      <dc:date>2013-05-19T17:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum sort-by-dimension problem</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472757#M559432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Stefan. &lt;/P&gt;&lt;P&gt;Exactly what my app need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 18:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-sort-by-dimension-problem/m-p/472757#M559432</guid>
      <dc:creator />
      <dc:date>2013-05-19T18:15:46Z</dc:date>
    </item>
  </channel>
</rss>

