<?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: Referencing expression from row above in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Referencing-expression-from-row-above/m-p/1265519#M398728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to admit I am not really sure why the RangeSum function is necessary, but it seems to work. I will have to read up to understand your solution better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2017 19:28:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-03T19:28:19Z</dc:date>
    <item>
      <title>Referencing expression from row above</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-expression-from-row-above/m-p/1265517#M398726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the Above() function for this, but it is not working as I hoped or I am doing something wrong. The attached spreadsheet illustrates the type of calcs and functionality I am looking to replicate in QV. I am assuming that I start with $100 in cash and buy something so the ending balance is the starting balance less what I have bought. The beginning balance for the next row is the ending balance from the row above. For each row &amp;gt; 1 I earn interest on the beginning cash balance which becomes part of the ending cash balance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make the "something" that I buy/sell dynamic in that the user can enter a "multiplier" to increase the size and have everything dynamically recalculate. The calc I cannot figure out is the beginning cash balance for RowNum &amp;gt; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help/advice is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 18:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-expression-from-row-above/m-p/1265517#M398726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-03T18:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing expression from row above</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-expression-from-row-above/m-p/1265518#M398727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;End share calculation seems different, otherwise it seems to be working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148214_Capture.PNG" style="height: 184px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 19:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-expression-from-row-above/m-p/1265518#M398727</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-03T19:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing expression from row above</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-expression-from-row-above/m-p/1265519#M398728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to admit I am not really sure why the RangeSum function is necessary, but it seems to work. I will have to read up to understand your solution better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 19:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-expression-from-row-above/m-p/1265519#M398728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-03T19:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing expression from row above</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-expression-from-row-above/m-p/1265520#M398729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was that Net BuySell is null and when you do something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Not Null + Null = Null&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, this works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Not Null, Null) = Not Null&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will clarify your doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest closing this thread by marking Correct and/or helpful responses so that future visitors can benefits here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 19:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-expression-from-row-above/m-p/1265520#M398729</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-03T19:35:31Z</dc:date>
    </item>
  </channel>
</rss>

