<?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: How to calculate performance with a startdate and enddate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-performance-with-a-startdate-and-enddate/m-p/1384999#M805752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Perhaps this?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;((1+ Sum({&amp;lt;Startdate = {$(VarSD)}&amp;gt;}Measure)) / (1+&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Enddate = {$(VarED)}&amp;gt;}Measure))) - 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2017 16:35:16 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-10-31T16:35:16Z</dc:date>
    <item>
      <title>How to calculate performance with a startdate and enddate</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-performance-with-a-startdate-and-enddate/m-p/1384998#M805750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following example:&lt;/P&gt;&lt;P&gt;AS_OF_DATE: 20170930&lt;/P&gt;&lt;P&gt;Total return: 2.5% &lt;/P&gt;&lt;P&gt;AS_OF_DATE: 20170831 &lt;/P&gt;&lt;P&gt;Total return: 1,0% &lt;/P&gt;&lt;P&gt;AS_OF_DATE: 20170731 &lt;/P&gt;&lt;P&gt;Total return: -0.5% &lt;/P&gt;&lt;P&gt;AS_OF_DATE: 20170630 &lt;/P&gt;&lt;P&gt;Total return: 0.2% &lt;/P&gt;&lt;P&gt;AS_OF_DATE: 20170531 &lt;/P&gt;&lt;P&gt;Total return: 1.5% &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make a selection with a Startdate and Enddate as a variable. Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Startdate: 20170630&lt;/P&gt;&lt;P&gt;Enddate:&amp;nbsp; 20170831&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By selecting the Startdate and Enddate the Total return must be calculated as follows:&lt;/P&gt;&lt;P&gt;Startdate: 0,2%&lt;/P&gt;&lt;P&gt;Enddate: 1.0%&lt;/P&gt;&lt;P&gt;Total return for this period= (1+1.0%)/(1+0.2%) -1 = 0,8%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So by selecting any Startdate and Enddate the total return should be calculated depending on the total return belonging to the Startdate and Enddate.with the above geometrical calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone give me an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xandro&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/How-to-calculate-performance-with-a-startdate-and-enddate/m-p/1384998#M805750</guid>
      <dc:creator>jjvicenza1930</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate performance with a startdate and enddate</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-performance-with-a-startdate-and-enddate/m-p/1384999#M805752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Perhaps this?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;((1+ Sum({&amp;lt;Startdate = {$(VarSD)}&amp;gt;}Measure)) / (1+&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Enddate = {$(VarED)}&amp;gt;}Measure))) - 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 16:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-performance-with-a-startdate-and-enddate/m-p/1384999#M805752</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-31T16:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate performance with a startdate and enddate</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-performance-with-a-startdate-and-enddate/m-p/1385000#M805753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. Just to be sure. How can I create a variable for Startdate and Enddate. Could you explain this to me step by step (is this via the load scrip?).&lt;/P&gt;&lt;P&gt;What I try to achieve is, that by selecting a Startdate and Enddate via the Filterpane a KPI (Total Return) calculates the return of the two. (the returns are cumulative returns).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 07:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-performance-with-a-startdate-and-enddate/m-p/1385000#M805753</guid>
      <dc:creator>jjvicenza1930</dc:creator>
      <dc:date>2017-11-01T07:15:02Z</dc:date>
    </item>
  </channel>
</rss>

