<?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 Cumulative figures on a graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-figures-on-a-graph/m-p/584770#M547989</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 really need someone help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data set that has a weight column and the weight cumulative column is calculated base on the direction .i.e. if the weigh was its added to cumulative ans if its out its removed from the cumulative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to plot the cumulative weight on a chart, dependent on the dimension I use i.e. if I use the stockdate field, i want to see the last figure recorded for each date. If I use the stockmonthyear field, I want to use the last field for each stockmonthyearfield. I created the row column as I thought I could somehow get the max for each date and use that in set analysis somehow, but I cant get it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See snapshot of the data below, I have attached the full data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="384"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="53"&gt;RowID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="63"&gt;StockDate&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="97"&gt;StockMonthYear&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="55"&gt;Direction&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="45"&gt;Weight&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="71"&gt;WeightCum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;04/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;In&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1574.7&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1574.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;04/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Out&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;235&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1339.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;05/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;In&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;115.9&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1455.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;05/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;In&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;115.9&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1571.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;05/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;In&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;97.2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1668.7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated. Working example would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2014 21:39:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-29T21:39:08Z</dc:date>
    <item>
      <title>Cumulative figures on a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-figures-on-a-graph/m-p/584770#M547989</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 really need someone help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data set that has a weight column and the weight cumulative column is calculated base on the direction .i.e. if the weigh was its added to cumulative ans if its out its removed from the cumulative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to plot the cumulative weight on a chart, dependent on the dimension I use i.e. if I use the stockdate field, i want to see the last figure recorded for each date. If I use the stockmonthyear field, I want to use the last field for each stockmonthyearfield. I created the row column as I thought I could somehow get the max for each date and use that in set analysis somehow, but I cant get it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See snapshot of the data below, I have attached the full data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="384"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="53"&gt;RowID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="63"&gt;StockDate&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="97"&gt;StockMonthYear&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="55"&gt;Direction&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="45"&gt;Weight&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="71"&gt;WeightCum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;04/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;In&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1574.7&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1574.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;04/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Out&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;235&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1339.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;05/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;In&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;115.9&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1455.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;05/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;In&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;115.9&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1571.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;05/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;Dec 2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;In&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;97.2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;1668.7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated. Working example would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 21:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-figures-on-a-graph/m-p/584770#M547989</guid>
      <dc:creator />
      <dc:date>2014-01-29T21:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative figures on a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-figures-on-a-graph/m-p/584771#M547990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension = RowID&lt;/P&gt;&lt;P&gt;Expression = rangesum(Above(sum(Weight) * if(Direction='Out',-1,1), 0, RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 21:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-figures-on-a-graph/m-p/584771#M547990</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-29T21:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative figures on a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-figures-on-a-graph/m-p/584772#M547991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create 2 additional dimensions as is demonstrated in the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 22:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-figures-on-a-graph/m-p/584772#M547991</guid>
      <dc:creator>tabletuner</dc:creator>
      <dc:date>2014-01-29T22:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative figures on a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-figures-on-a-graph/m-p/584773#M547992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, thats exactly what I wanted, much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 10:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-figures-on-a-graph/m-p/584773#M547992</guid>
      <dc:creator />
      <dc:date>2014-01-31T10:18:28Z</dc:date>
    </item>
  </channel>
</rss>

