<?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: Iterative Calculation in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943752#M976819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Dinu1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2015 06:31:00 GMT</pubDate>
    <dc:creator>dinuwanbr</dc:creator>
    <dc:date>2015-09-03T06:31:00Z</dc:date>
    <item>
      <title>Iterative Calculation in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943749#M976815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;i,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;in the image below, Net Profit is calculated as follows;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;NetProfit = B1-B2-B3&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;The field Salaries is calculated&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Salaries = 0.1 * B4&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;This is allowed in excel with the option iterative calculation, as the field B3 is used in both calculations of NetProfit and Salaries.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;IMG alt="Sheet1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97542_Sheet1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;How can I apply the same in a qlikview application. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 06:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943749#M976815</guid>
      <dc:creator />
      <dc:date>2015-09-01T06:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Calculation in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943750#M976817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how these iterations will be made (probably some kind of random-function which runs x-time and the average will taken) and think they are not really predictable. I personal would prefer a multi-stage margin-calculation like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt; -&amp;nbsp; Material&lt;/P&gt;&lt;P&gt;=&amp;nbsp; Margin 1&lt;/P&gt;&lt;P&gt; -&amp;nbsp; Rents&lt;/P&gt;&lt;P&gt;=&amp;nbsp; Margin 2&lt;/P&gt;&lt;P&gt; -&amp;nbsp; Salaries&lt;/P&gt;&lt;P&gt;=&amp;nbsp; Margin 3&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 11:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943750#M976817</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-09-01T11:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Calculation in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943751#M976818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do it in the script, you can use the Peek() function to address above records. If you do it in a chart in the UI, you can use the Above() function. But you &lt;EM&gt;cannot&lt;/EM&gt; have recursive definitions as you have in your example, where NetProfit is calculated from Salaries, and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Salaries &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;is calculated from &lt;SPAN style="font-size: 13.3333330154419px;"&gt;NetProfit.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Further, in both databases and in QlikView/Qlik Sense, you should usually not store different things in the same column and let the order define what it is. Instead you should have them in &lt;EM&gt;different&lt;/EM&gt; columns and name the columns appropriately. Then it is easy to do what Marcus suggests - which is also how I would do it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 11:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943751#M976818</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-09-01T11:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Calculation in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943752#M976819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Dinu1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 06:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943752#M976819</guid>
      <dc:creator>dinuwanbr</dc:creator>
      <dc:date>2015-09-03T06:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Calculation in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943753#M976821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was just an example for a real time implementation where there are two fields which are calculated recursively. Will try to avoid recursive definitions for sure &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 06:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943753#M976821</guid>
      <dc:creator />
      <dc:date>2015-09-03T06:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Calculation in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943754#M976822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Will try it out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 06:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterative-Calculation-in-Qlikview/m-p/943754#M976822</guid>
      <dc:creator />
      <dc:date>2015-09-03T06:43:58Z</dc:date>
    </item>
  </channel>
</rss>

