<?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: Running Total in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868947#M1014653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is one without modifying the backend script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2015 18:00:36 GMT</pubDate>
    <dc:creator>ramoncova06</dc:creator>
    <dc:date>2015-04-20T18:00:36Z</dc:date>
    <item>
      <title>Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868944#M1014650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My table has the stock movement for each item by day. So at any point if I want to find the current stock, I need to sum all the stock movements from the day business started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to create a report which shows the stock level over a period of time. The period can be selected by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a simplified version of my table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stock:&lt;/P&gt;&lt;P&gt;LOAD * INLINE&lt;/P&gt;&lt;P&gt;[Brand,Item,Reason,Date,StockMovement&lt;/P&gt;&lt;P&gt;EveLom,E001,OpeningStock,01/01/2014,200&lt;/P&gt;&lt;P&gt;EveLom,E001,Sale,05/01/2014,-100&lt;/P&gt;&lt;P&gt;EveLom,E001,Purchase,01/03/2014,100&lt;/P&gt;&lt;P&gt;EveLom,E001,Sale,01/05/2014,-50&lt;/P&gt;&lt;P&gt;EveLom,E001,Sale,01/10/2014,-50&lt;/P&gt;&lt;P&gt;EveLom,E001,Sale,21/10/2014,-20&lt;/P&gt;&lt;P&gt;EveLom,E001,Sale,01/01/2015,-30&lt;/P&gt;&lt;P&gt;EveLom,E001,Sale,01/03/2015,-10&lt;/P&gt;&lt;P&gt;EveLom,E001,Purchase,01/04/2014,100&lt;/P&gt;&lt;P&gt;EveLom,E002,OpeningStock,01/01/2014,2000&lt;/P&gt;&lt;P&gt;EveLom,E002,Sale,05/01/2014,-100&lt;/P&gt;&lt;P&gt;EveLom,E002,Purchase,01/03/2014,100&lt;/P&gt;&lt;P&gt;EveLom,E002,Sale,01/05/2014,-50&lt;/P&gt;&lt;P&gt;EveLom,E002,Sale,01/10/2014,-50&lt;/P&gt;&lt;P&gt;EveLom,E002,Sale,01/11/2014,-20&lt;/P&gt;&lt;P&gt;EveLom,E002,Sale,01/01/2015,-30&lt;/P&gt;&lt;P&gt;EveLom,E002,Sale,01/02/2015,-10&lt;/P&gt;&lt;P&gt;EveLom,E002,Purchase,01/03/2014,100&lt;/P&gt;&lt;P&gt;LQ,L001,OpeningStock,01/01/2014,1000&lt;/P&gt;&lt;P&gt;LQ,L001,Sale,05/01/2014,-100&lt;/P&gt;&lt;P&gt;LQ,L001,Purchase,01/03/2014,100&lt;/P&gt;&lt;P&gt;LQ,L001,Sale,01/05/2014,-50&lt;/P&gt;&lt;P&gt;LQ,L001,Sale,01/10/2014,-50&lt;/P&gt;&lt;P&gt;LQ,L001,Sale,21/10/2014,-20&lt;/P&gt;&lt;P&gt;LQ,L001,Sale,01/01/2015,-30&lt;/P&gt;&lt;P&gt;LQ,L001,Sale,01/03/2015,-10&lt;/P&gt;&lt;P&gt;LQ,L001,Purchase,01/04/2014,100&lt;/P&gt;&lt;P&gt;LQ,L002,OpeningStock,01/01/2014,5000&lt;/P&gt;&lt;P&gt;LQ,L002,Sale,05/01/2014,-100&lt;/P&gt;&lt;P&gt;LQ,L002,Purchase,01/03/2014,100&lt;/P&gt;&lt;P&gt;LQ,L002,Sale,01/05/2014,-500&lt;/P&gt;&lt;P&gt;LQ,L002,Sale,01/10/2014,-500&lt;/P&gt;&lt;P&gt;LQ,L002,Sale,01/11/2014,-200&lt;/P&gt;&lt;P&gt;LQ,L002,Sale,01/01/2015,-300&lt;/P&gt;&lt;P&gt;LQ,L002,Sale,01/02/2015,-100&lt;/P&gt;&lt;P&gt;LQ,L002,Purchase,01/03/2014,100&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There four items and they are grouped under 2 brands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want a stacked bar chart for Stock Level by Brand Vs Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart should look like below. (I created this one for sales.)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="StackedBarChart.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/84154_StackedBarChart.PNG" style="height: 161px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Months will be in X-Axis.&lt;/P&gt;&lt;P&gt;Stock will be in Y-Axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a qvw document with the sample data and calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried several methods without any success. Any ideas/guidance will be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868944#M1014650</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868945#M1014651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; added this column to the table you used in your upload. I think it achieves what you want, but I am not sure. Please check:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StockMovement&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), 0, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't get your chart to work yet, but I think these are at least the numbers you wanted, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 17:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868945#M1014651</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-04-20T17:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868946#M1014652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mayuran, please check attachment, I added a YearMonth field and I didn't worry about design, only to get the values.&lt;/P&gt;&lt;P&gt;Hope this helps you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 17:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868946#M1014652</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-04-20T17:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868947#M1014653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is one without modifying the backend script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 18:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868947#M1014653</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-20T18:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868948#M1014654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the prompt response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works but if you select year 2015, the values are not correct as the stock should be calculated from 2014 Jan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 22:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868948#M1014654</guid>
      <dc:creator />
      <dc:date>2015-04-20T22:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868949#M1014655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the prompt response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This just sums up the values for the current year and not shows the running total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 22:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868949#M1014655</guid>
      <dc:creator />
      <dc:date>2015-04-20T22:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868950#M1014656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer. This works&lt;SPAN class="emoticon-inline emoticon_happy"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I am looking for an answer that does not touch the backend script. If I cannot find any I will use this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 22:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868950#M1014656</guid>
      <dc:creator />
      <dc:date>2015-04-20T22:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868951#M1014657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is with using the full accumulation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 02:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868951#M1014657</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-21T02:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868952#M1014658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this blog post for some information on accumulation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2787"&gt;Accumulative Sums&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 06:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868952#M1014658</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-04-21T06:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868953#M1014659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will be hard without a 'Date' or 'YearMonth' field, for complete years can be done but if the user selects 2nd semester of 2014 an first semester of 2015 I don't see a way to use set analisys without a field that combines month and year in any way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 08:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868953#M1014659</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-04-21T08:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868954#M1014660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This prints correct values but when I select Year 2015, it still shows the values for 2014 as well.&lt;/P&gt;&lt;P&gt;When Year 2015 is selected, only months from 2015 should be shown.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 11:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868954#M1014660</guid>
      <dc:creator />
      <dc:date>2015-04-21T11:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868955#M1014661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure on how to do that without modifying the backend script, I would suggest using Ruben solution instead &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 14:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868955#M1014661</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-21T14:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868956#M1014662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. This is the best solution I have come across. I marked yours as the correct answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 15:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-Qlikview/m-p/868956#M1014662</guid>
      <dc:creator />
      <dc:date>2015-04-21T15:14:12Z</dc:date>
    </item>
  </channel>
</rss>

