<?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: Net Profit Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Net-Profit-Calculation/m-p/1103624#M917466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Month, Amount&lt;/P&gt;&lt;P&gt;Jan, 10&lt;/P&gt;&lt;P&gt;Feb, 11&lt;/P&gt;&lt;P&gt;Mar, 5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;if(Amount-previous(Amount) &amp;gt; 0, Amount-previous(Amount), -(Amount-previous(Amount)))&amp;nbsp; as difference&lt;/P&gt;&lt;P&gt;resident Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Temp;&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/124053_Capture.PNG" style="height: 373px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2016 20:41:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-05-09T20:41:48Z</dc:date>
    <item>
      <title>Net Profit Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Profit-Calculation/m-p/1103621#M917463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me with a formula that will take the total amount of the netprofit for the first month and then take the total netprofit of the second month find the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically if:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan = 10&lt;/P&gt;&lt;P&gt;Feb = 11&lt;/P&gt;&lt;P&gt;Mar = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the difference between Jan and feb is 1 so Feb will = 1&lt;/P&gt;&lt;P&gt;and then the difference between Feb and Mar is 4 so Mar will = 4&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Profit-Calculation/m-p/1103621#M917463</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Net Profit Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Profit-Calculation/m-p/1103622#M917464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps sum(amount)-above(sum(amount)).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 15:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Profit-Calculation/m-p/1103622#M917464</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-09T15:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Net Profit Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Profit-Calculation/m-p/1103623#M917465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option is to do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Sum(NetProfit), -Above([Exp]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Exp is the expression label&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/124051_Capture.PNG" style="height: 318px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 20:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Profit-Calculation/m-p/1103623#M917465</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-09T20:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Net Profit Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Profit-Calculation/m-p/1103624#M917466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Month, Amount&lt;/P&gt;&lt;P&gt;Jan, 10&lt;/P&gt;&lt;P&gt;Feb, 11&lt;/P&gt;&lt;P&gt;Mar, 5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;if(Amount-previous(Amount) &amp;gt; 0, Amount-previous(Amount), -(Amount-previous(Amount)))&amp;nbsp; as difference&lt;/P&gt;&lt;P&gt;resident Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Temp;&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/124053_Capture.PNG" style="height: 373px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 20:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Profit-Calculation/m-p/1103624#M917466</guid>
      <dc:creator />
      <dc:date>2016-05-09T20:41:48Z</dc:date>
    </item>
  </channel>
</rss>

