<?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: Summing all values with a date less than dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448365#M489231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to you both for the quick replies!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2012 20:06:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-19T20:06:25Z</dc:date>
    <item>
      <title>Summing all values with a date less than dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448361#M489227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simplified version of what I am trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Sample: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date, Value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;1/1/2012,10&lt;/P&gt;&lt;P&gt;1/2/2012,20&lt;/P&gt;&lt;P&gt;1/3/2012,30&lt;/P&gt;&lt;P&gt;1/4/2012,90&lt;/P&gt;&lt;P&gt;1/5/2012,100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to plot Date on the X Axis.&amp;nbsp; On the Y axis, I would like to plot the Sum of value where Date &amp;lt;= Dimension value.&amp;nbsp; For example:&amp;nbsp; on the date 1/4/2012, i would like to see the value 150.&amp;nbsp; On 1/2/2012, i would like to see 30.&amp;nbsp; If I click on a single date i should still be able to see the correct total (ie if i select and dispplay only 1/4/2012 I should still be able to see the value of 150)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using TOTAL in my sum expressions, but this is plotting the total across all dimension values.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&amp;nbsp; Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 19:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448361#M489227</guid>
      <dc:creator />
      <dc:date>2012-11-19T19:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Summing all values with a date less than dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448362#M489228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: rangesum(above(sum(Value),0,RowNo()))&lt;/P&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 19:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448362#M489228</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-19T19:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Summing all values with a date less than dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448363#M489229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)=1,&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;rangesum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;above&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({1}&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;),0,500)),&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;),&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;rangesum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;above&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;), 0, &lt;SPAN style="color: #0000ff;"&gt;rowno&lt;/SPAN&gt;()))) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 20:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448363#M489229</guid>
      <dc:creator />
      <dc:date>2012-11-19T20:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Summing all values with a date less than dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448364#M489230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example File.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 20:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448364#M489230</guid>
      <dc:creator />
      <dc:date>2012-11-19T20:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Summing all values with a date less than dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448365#M489231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to you both for the quick replies!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 20:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-all-values-with-a-date-less-than-dimension/m-p/448365#M489231</guid>
      <dc:creator />
      <dc:date>2012-11-19T20:06:25Z</dc:date>
    </item>
  </channel>
</rss>

