<?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: Full accumulation: having dimensions reflecting selection but expression that don't in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892180#M470215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So sorry about that,&lt;/P&gt;&lt;P&gt;I do have a table with year, period, month and year-period to link to my amounts table through a year-period key.&lt;/P&gt;&lt;P&gt;So when I select a year, the link through year-period reduces only 201601.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Swuehl, rangesum with the aggr is the begining of what I'm trying to do.&lt;/P&gt;&lt;P&gt;I have a drill down graph, from year, to month. So my aggr should be on year and month, how does that count (turned to a sum) work then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2015 04:53:25 GMT</pubDate>
    <dc:creator>sibrulotte</dc:creator>
    <dc:date>2015-06-02T04:53:25Z</dc:date>
    <item>
      <title>Full accumulation: having dimensions reflecting selection but expression that don't</title>
      <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892177#M470212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to show a graph/chart with a drill down from Year to month. Our year end starts june 1st.&lt;/P&gt;&lt;P&gt;periods 2015-05 to 2016-01 data is shown here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="88110" alt="Full accumulation.png" class="jive-image image-1" src="/legacyfs/online/88110_Full accumulation.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;With one dimension, I get my full accumulation&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="88111" alt="Full accumulation2.png" class="jive-image image-2" src="/legacyfs/online/88111_Full accumulation2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do a selection on the year 2016, I get only june but get 21 920.54$ instead of 443 168.22$.&lt;/P&gt;&lt;P&gt;I want a full accumulation so I do a set analysis to exclude the selection of the year. I get 443 168.22$ but all the months of 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get just june, 443 168.22$ ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892177#M470212</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-06-01T20:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Full accumulation: having dimensions reflecting selection but expression that don't</title>
      <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892178#M470213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look into &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/90819"&gt;report with accumulation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 21:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892178#M470213</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-01T21:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Full accumulation: having dimensions reflecting selection but expression that don't</title>
      <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892179#M470214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how are you identifying your full year ? only based on the Month Year ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you used total ?&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;sum (total &amp;lt;Month&amp;gt; value) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 23:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892179#M470214</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-06-01T23:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Full accumulation: having dimensions reflecting selection but expression that don't</title>
      <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892180#M470215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So sorry about that,&lt;/P&gt;&lt;P&gt;I do have a table with year, period, month and year-period to link to my amounts table through a year-period key.&lt;/P&gt;&lt;P&gt;So when I select a year, the link through year-period reduces only 201601.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Swuehl, rangesum with the aggr is the begining of what I'm trying to do.&lt;/P&gt;&lt;P&gt;I have a drill down graph, from year, to month. So my aggr should be on year and month, how does that count (turned to a sum) work then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 04:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892180#M470215</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-06-02T04:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Full accumulation: having dimensions reflecting selection but expression that don't</title>
      <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892181#M470216</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;If you want to go for the dynamic approach using rangesum (which I like), you need to take care that your advanced aggegration dimension values are sorted chronological in load order. Either create your master calendar before loading the (potentially randomly ordered facts), or load a fix set of calendar data inline first in your script (a table you can drop after you've loaded all other data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my attached sample, I hope you get the principal approach. Instead of an inner aggregation sum(), a count() should work the same.&lt;/P&gt;&lt;P&gt;In a pivot or drill down as well as in total lines, using sum() for the outer aggregation will not return the correct value (which I assume is the latest value, or last line, but probably not the sum of fully aggregated&amp;nbsp; rows).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I used FirstSortedValue() as an outer aggregation function, so finally&lt;/P&gt;&lt;P&gt;=FirstSortedValue( aggr( rangesum(above(TOTAL sum({1} Value),0,rowno(total))), Year, Month), -Monthstart )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check if you can build a solution on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 09:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892181#M470216</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-02T09:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Full accumulation: having dimensions reflecting selection but expression that don't</title>
      <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892182#M470217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although I marked it as correct, my model is bit more convoluted, and I need to add dimensions to the AGGR function for it to work I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Scheme.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88181_Scheme.png" style="height: 358px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; I do have a summarized table of transactions (GLdetailcumule), but it's granularity is a bit lower than year month. It goes down to year, month, than a line for each GL account with transactions (Key to "CharteComptable) and a line for each project number (Key to "ExtraComptable), and a line for each type of transaction (Journal entry, vs invoice, etc., Key to TypeTransaction). All of which can be selected in my front end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;So I need to figure out a way to have maybe a summarized table with only Year, Month, amount if that's what I want to show in the graph. But there would not be any reduction on selection of other dimensions (GL account, project number, etc.).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 14:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892182#M470217</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-06-02T14:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Full accumulation: having dimensions reflecting selection but expression that don't</title>
      <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892183#M470218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My other approach was to keep a Full Accumulation expression, but reduce my dimension to only months that exist in the selected year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 14:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892183#M470218</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-06-02T14:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Full accumulation: having dimensions reflecting selection but expression that don't</title>
      <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892184#M470219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you don't need extra dimensions, but if you want to select e.g. project number and have that reflected in the inner aggregation, you need to replace the set identifier {1} with something that only clears selection in calendar fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application, maybe like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=FirstSortedValue( aggr( rangesum(above(TOTAL sum(&lt;STRONG&gt;{$&amp;lt;Year=, Month=, Monthstart=&amp;gt;}&lt;/STRONG&gt; Value),0,rowno(total))), Year, Month), -Monthstart )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 14:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892184#M470219</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-02T14:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Full accumulation: having dimensions reflecting selection but expression that don't</title>
      <link>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892185#M470220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up using no drill down, and put Month&amp;amp;'-'&amp;amp;Year as the dimension, limit the dimension to 12, so that I have a rolling 12 month graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 19:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Full-accumulation-having-dimensions-reflecting-selection-but/m-p/892185#M470220</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-06-02T19:16:28Z</dc:date>
    </item>
  </channel>
</rss>

