<?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: Calculate expression on previously calculated row in the same expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-expression-on-previously-calculated-row-in-the-same/m-p/660963#M1064768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nuthan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can easily do this using above function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say you are getting inputbox data into variable vInputbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can write your expression something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Sales)*alt(Above(Sum(Sales)),$(vInputbox))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 04:36:16 GMT</pubDate>
    <dc:creator>sushil353</dc:creator>
    <dc:date>2014-09-10T04:36:16Z</dc:date>
    <item>
      <title>Calculate expression on previously calculated row in the same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-expression-on-previously-calculated-row-in-the-same/m-p/660962#M1064767</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 have met with a new requirement, which I need to get the input value from an input box, calculate the value of first row, then take the first row value as input to the second row calculation in expression, and third row need to calculated based on the value generated in second row and so on....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to calculate Jan sales value on user input, Jan Sales value is input for Feb Sales value, Feb value to Mar Sales value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an input box, which getting data from users.&amp;nbsp;&amp;nbsp; Eg: if user input is 10%, then calculate Jan sales value to 90% of the actual sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to take the value generated for Jan Sales as the input and calculate the Sales value for Feb.&lt;/P&gt;&lt;P&gt;Feb Sales value as input to the Mar Sales Value calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on... up to December Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you people, please suggest me, how to achieve this in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nuthan Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 04:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-expression-on-previously-calculated-row-in-the-same/m-p/660962#M1064767</guid>
      <dc:creator />
      <dc:date>2014-09-10T04:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression on previously calculated row in the same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-expression-on-previously-calculated-row-in-the-same/m-p/660963#M1064768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nuthan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can easily do this using above function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say you are getting inputbox data into variable vInputbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can write your expression something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Sales)*alt(Above(Sum(Sales)),$(vInputbox))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 04:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-expression-on-previously-calculated-row-in-the-same/m-p/660963#M1064768</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-09-10T04:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression on previously calculated row in the same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-expression-on-previously-calculated-row-in-the-same/m-p/660964#M1064769</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;&lt;/P&gt;&lt;P&gt;Use Above function in expression of chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above function is used to get the previous value in chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 05:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-expression-on-previously-calculated-row-in-the-same/m-p/660964#M1064769</guid>
      <dc:creator />
      <dc:date>2014-09-10T05:32:44Z</dc:date>
    </item>
  </channel>
</rss>

