<?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: How to sum rows above last transaction!? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-sum-rows-above-last-transaction/m-p/476239#M554870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right now i use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;( &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ENTEREDQTY&lt;/SPAN&gt;) &amp;gt;= &lt;SPAN style="color: #0000ff;"&gt;rangesum&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;below&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;QTY&lt;/SPAN&gt;),0,&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;QTY&lt;/SPAN&gt;))), &lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;VALUE&lt;/SPAN&gt;)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this work in a table chart but now in bar chart, if the first value in QTY is below ENTEREDQTY, If there is a rest i want the rest from next transaction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2013 11:22:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-08T11:22:51Z</dc:date>
    <item>
      <title>How to sum rows above last transaction!?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-rows-above-last-transaction/m-p/476238#M554869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am quiet new to QW and i hope some one can help with my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna make a bar chart containing bars over ages and value of the stock, but i only wanna show stock until Qty &amp;lt;= ENTEREDQTY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; ex.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date 31-07-2013. QTY is lower then ENTEREDQTY here i whant to date returned in a new colum - DateFlag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&amp;nbsp; 31-08-2012 QTY 1+23 = 24 here i what the same. &lt;BR /&gt;somehow sum rows above to compare with value in stock?&lt;/P&gt;&lt;P&gt;I wanna do this in the scrip because i dont need the data if &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 652px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;ITEMNUMBER&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="98"&gt;ITEMGROUP&lt;/TD&gt;&lt;TD class="xl64" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="98"&gt;=Date(DATE)&lt;/TD&gt;&lt;TD class="xl65" width="98"&gt;sum(QTY)&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="98"&gt;sum(ENTEREDQTY)&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="98"&gt;sum(VALUE)&lt;/TD&gt;&lt;TD width="64"&gt;Stockvalue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;31-10-2007&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;13&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;31-01-2008&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;43&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;29-02-2008&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;23&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;162&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;31-03-2008&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;123&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;31-08-2008&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;31-10-2008&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;45&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;31-03-2009&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;39&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl72" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl72" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;30-04-2009&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;33&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl79" height="18"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl79" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl79" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;31-10-2011&lt;/TD&gt;&lt;TD align="right" class="xl80" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl81" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl80" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;39&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl75" height="17"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl75" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl75" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;31-08-2012&lt;/TD&gt;&lt;TD align="right" class="xl76" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl77" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl78" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;RESJLG1120515&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17JLG&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;31-07-2013&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;23&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;150&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 09:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-rows-above-last-transaction/m-p/476238#M554869</guid>
      <dc:creator />
      <dc:date>2013-08-08T09:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum rows above last transaction!?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-rows-above-last-transaction/m-p/476239#M554870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right now i use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;( &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ENTEREDQTY&lt;/SPAN&gt;) &amp;gt;= &lt;SPAN style="color: #0000ff;"&gt;rangesum&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;below&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;QTY&lt;/SPAN&gt;),0,&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;QTY&lt;/SPAN&gt;))), &lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;VALUE&lt;/SPAN&gt;)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this work in a table chart but now in bar chart, if the first value in QTY is below ENTEREDQTY, If there is a rest i want the rest from next transaction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 11:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-rows-above-last-transaction/m-p/476239#M554870</guid>
      <dc:creator />
      <dc:date>2013-08-08T11:22:51Z</dc:date>
    </item>
  </channel>
</rss>

