<?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: Sum of the sales until 'Date' given as Dimension. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-the-sales-until-Date-given-as-Dimension/m-p/423104#M157690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;interesting answer. You've got the point. Thanks ! As in the previous time I've posted a question in the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concerning the calendar table, this post is really good and helped me to create one : &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/qlikviews/http://community.qlik.com/qlikviews/1075" title="http://community.qlik.com/qlikviews/1075"&gt;http://community.qlik.com/qlikviews/1075&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will keep you informed if I succeed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2012 16:05:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-19T16:05:37Z</dc:date>
    <item>
      <title>Sum of the sales until 'Date' given as Dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-the-sales-until-Date-given-as-Dimension/m-p/423102#M157688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem that sounds easy to solve. Here is the problem :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data are :&lt;/P&gt;&lt;P&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;01/09/2012&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 Euros&lt;/P&gt;&lt;P&gt;03/09/2012&amp;nbsp;&amp;nbsp;&amp;nbsp; 10 E&lt;/P&gt;&lt;P&gt;05/09/2012&amp;nbsp;&amp;nbsp;&amp;nbsp; 100 E&lt;/P&gt;&lt;P&gt;06/09/2012&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000 E&lt;/P&gt;&lt;P&gt;10/09/2012&amp;nbsp;&amp;nbsp;&amp;nbsp; 10000 E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this table :&lt;/P&gt;&lt;P&gt;Dimension : Date&lt;/P&gt;&lt;P&gt;Expr : Sum of the sales until the given date. &lt;/P&gt;&lt;P&gt;i.e. :&lt;/P&gt;&lt;P&gt;01/09/2012&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;02/09/2012&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;03/09/2012&amp;nbsp; 11&lt;/P&gt;&lt;P&gt;04/09/2012&amp;nbsp; 11&lt;/P&gt;&lt;P&gt;05/09/2012&amp;nbsp; 111&lt;/P&gt;&lt;P&gt;06/09/2012&amp;nbsp; 1111&lt;/P&gt;&lt;P&gt;07/09/2012&amp;nbsp; 1111&lt;/P&gt;&lt;P&gt;08/09/2012&amp;nbsp; 1111&lt;/P&gt;&lt;P&gt;09/09/2012&amp;nbsp; 1111&lt;/P&gt;&lt;P&gt;10/09/2012&amp;nbsp; 11111&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried very hard with set analysis. But nothing works. I'm probably missing something. Example : sum({$&amp;lt;Date={"&amp;lt;=$(=Date)"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in this exercise &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 15:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-the-sales-until-Date-given-as-Dimension/m-p/423102#M157688</guid>
      <dc:creator />
      <dc:date>2012-09-19T15:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of the sales until 'Date' given as Dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-the-sales-until-Date-given-as-Dimension/m-p/423103#M157689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think set analysis is the way to go here, because it's not evaluated in the context of your dimension.&lt;/P&gt;&lt;P&gt;Try using full accumulation option from expression properties or using rangesum(above(sum(Sales),0,rowno() ))&lt;/P&gt;&lt;P&gt;You may need to create a calendar table to get all Date values, not only the ones with data.&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>Wed, 19 Sep 2012 15:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-the-sales-until-Date-given-as-Dimension/m-p/423103#M157689</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-19T15:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of the sales until 'Date' given as Dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-the-sales-until-Date-given-as-Dimension/m-p/423104#M157690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;interesting answer. You've got the point. Thanks ! As in the previous time I've posted a question in the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concerning the calendar table, this post is really good and helped me to create one : &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/qlikviews/http://community.qlik.com/qlikviews/1075" title="http://community.qlik.com/qlikviews/1075"&gt;http://community.qlik.com/qlikviews/1075&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will keep you informed if I succeed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 16:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-the-sales-until-Date-given-as-Dimension/m-p/423104#M157690</guid>
      <dc:creator />
      <dc:date>2012-09-19T16:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of the sales until 'Date' given as Dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-the-sales-until-Date-given-as-Dimension/m-p/423105#M157691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, your answer fits my need !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a Calendar table, I've plotted a chart with, as dimension : &lt;/P&gt;&lt;P&gt;=year(CalendarDate) &amp;amp; ' ' &amp;amp; month(CalendarDate)&lt;/P&gt;&lt;P&gt;and as expression : &lt;/P&gt;&lt;P&gt;rangesum(above(sum(value),0,$(vSTEP) ))/$(vSTEP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then I created a step by step slider to select the vSTEP variable. And it does work !! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a file with the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 16:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-the-sales-until-Date-given-as-Dimension/m-p/423105#M157691</guid>
      <dc:creator />
      <dc:date>2012-09-19T16:48:06Z</dc:date>
    </item>
  </channel>
</rss>

