<?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 problem with accumulation syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-accumulation-syntax/m-p/105849#M16623</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;I am having trouble to get the accumulation set expression right. I am trying to accumulated &lt;SPAN style="font-size: 13.3333px;"&gt;media_amount based selection of signed_date dimensions for months (which is again different dimension based on other date).&amp;nbsp; So desired outcome would show all media_amount signed for that date and all previous signed dates. Originally I was triyng to solve this with filter that would be accumulative but found out that this is not the approach in qlik.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;rangesum( above( sum({&amp;lt;signed_date = {"&amp;lt;=$(Max(signed_date))"},Month= &amp;gt;}[media_amount]),0,rowno(0)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;It works almost fine if i use TOTAL keyword with rowno but the end result is accmulation across different dimension (which i need to use to display the results) which I dont want (the order of that dimension is meaningless as is the accumulation across it).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The strangely similar expression below works fine. which propably means that the problem is not in fact table that has adhoc order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Rangesum(Above($(Sum({$&amp;lt;FinYear&amp;nbsp; = {"$(vLYFinYear)"},signed_date={"&amp;lt;=$(vLYToday)"},Year=,Month=,Quarter=&amp;gt;} [media_amount]),0,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you any hel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2018 20:48:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-15T20:48:40Z</dc:date>
    <item>
      <title>problem with accumulation syntax</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-accumulation-syntax/m-p/105849#M16623</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;I am having trouble to get the accumulation set expression right. I am trying to accumulated &lt;SPAN style="font-size: 13.3333px;"&gt;media_amount based selection of signed_date dimensions for months (which is again different dimension based on other date).&amp;nbsp; So desired outcome would show all media_amount signed for that date and all previous signed dates. Originally I was triyng to solve this with filter that would be accumulative but found out that this is not the approach in qlik.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;rangesum( above( sum({&amp;lt;signed_date = {"&amp;lt;=$(Max(signed_date))"},Month= &amp;gt;}[media_amount]),0,rowno(0)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;It works almost fine if i use TOTAL keyword with rowno but the end result is accmulation across different dimension (which i need to use to display the results) which I dont want (the order of that dimension is meaningless as is the accumulation across it).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The strangely similar expression below works fine. which propably means that the problem is not in fact table that has adhoc order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Rangesum(Above($(Sum({$&amp;lt;FinYear&amp;nbsp; = {"$(vLYFinYear)"},signed_date={"&amp;lt;=$(vLYToday)"},Year=,Month=,Quarter=&amp;gt;} [media_amount]),0,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you any hel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 20:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-accumulation-syntax/m-p/105849#M16623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-15T20:48:40Z</dc:date>
    </item>
  </channel>
</rss>

