<?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: Earned value calculation dinamically in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Earned-value-calculation-dinamically/m-p/1275351#M868361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand your question. What should be calculated where? Consider that the back end has no interaction with the front end at all during the execution of the script. There are two distinct separate phases. The first phase is loading the data. The user cannot interact with that (a simplification, but consider it as true for now). The second phase is interacting with the loaded data using charts, listboxes etc. In this phase it is not possible to change the data in the data model (again a simplification, but for practical purposes as good as true).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 07:29:06 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-12-06T07:29:06Z</dc:date>
    <item>
      <title>Earned value calculation dinamically</title>
      <link>https://community.qlik.com/t5/QlikView/Earned-value-calculation-dinamically/m-p/1275348#M868358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate my earned amount using below logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(AMOUNT)*Active Days)/Tenure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum of amount = It is calculated using direct field available in Data&lt;/P&gt;&lt;P&gt;Active Days = (Date selected in the frond end - Reporting_Date)+1&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tenure = (End_Date - Reporting_Date)+1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Below is an example of my calculation:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 588px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;NO&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;REPORTING_DATE&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;END_DATE&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Amount&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Tenure&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Active Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;20/04/2016&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;19/04/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;175.00&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;365&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;195&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to get my Active days calculated from the back end and get update as per the change in selection like from and to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above mentioned example my selection is From 01/04/2016 to 30/09/2016 and therefore the active days shown as 195. If i change my to date either of the the side then my active date must change on my selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have these calculated happen at back end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attach is the sample file for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Imran K&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/Earned-value-calculation-dinamically/m-p/1275348#M868358</guid>
      <dc:creator>khan_imran</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Earned value calculation dinamically</title>
      <link>https://community.qlik.com/t5/QlikView/Earned-value-calculation-dinamically/m-p/1275349#M868359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps I'm misunderstanding you, but the load script has no access to user selections. First a document is reloaded and only then can a user make selections from the loaded data. You can't calculate measures in the back-end and expect them to change based on user selections in the front-end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 09:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Earned-value-calculation-dinamically/m-p/1275349#M868359</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-05T09:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Earned value calculation dinamically</title>
      <link>https://community.qlik.com/t5/QlikView/Earned-value-calculation-dinamically/m-p/1275350#M868360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks gysbert for your response. Yes, We will give a date range to user for selection. Is it possible to calculate dynamic active days coming from backend?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Imran Khan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 01:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Earned-value-calculation-dinamically/m-p/1275350#M868360</guid>
      <dc:creator>khan_imran</dc:creator>
      <dc:date>2016-12-06T01:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Earned value calculation dinamically</title>
      <link>https://community.qlik.com/t5/QlikView/Earned-value-calculation-dinamically/m-p/1275351#M868361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand your question. What should be calculated where? Consider that the back end has no interaction with the front end at all during the execution of the script. There are two distinct separate phases. The first phase is loading the data. The user cannot interact with that (a simplification, but consider it as true for now). The second phase is interacting with the loaded data using charts, listboxes etc. In this phase it is not possible to change the data in the data model (again a simplification, but for practical purposes as good as true).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 07:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Earned-value-calculation-dinamically/m-p/1275351#M868361</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-06T07:29:06Z</dc:date>
    </item>
  </channel>
</rss>

