<?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 Indexing Returns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251186#M1207255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could you provide business logic, how to calculate these indexes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 11:03:52 GMT</pubDate>
    <dc:creator>d_pranskus</dc:creator>
    <dc:date>2010-04-13T11:03:52Z</dc:date>
    <item>
      <title>Indexing Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251185#M1207252</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 want to get Indexed values in QV but am not able to do so. Would be a great help if someone can help. What I want is explained below as an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 192pt;" width="256"&gt;&lt;COL span="4" style="width: 48pt;" width="64" /&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15pt; width: 48pt;" width="64"&gt;Day&lt;/TD&gt;&lt;TD class="xl63" style="width: 48pt;" width="64"&gt;Price&lt;/TD&gt;&lt;TD class="xl63" style="width: 48pt;" width="64"&gt;Return&lt;/TD&gt;&lt;TD class="xl63" style="width: 48pt;" width="64"&gt;Index&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15pt;"&gt;1&lt;/TD&gt;&lt;TD class="xl63"&gt;1000&lt;/TD&gt;&lt;TD class="xl64"&gt;&lt;/TD&gt;&lt;TD class="xl63"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15pt;"&gt;2&lt;/TD&gt;&lt;TD class="xl63"&gt;991&lt;/TD&gt;&lt;TD class="xl64"&gt;-0.9%&lt;/TD&gt;&lt;TD class="xl63"&gt;99.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15pt;"&gt;3&lt;/TD&gt;&lt;TD class="xl63"&gt;1010&lt;/TD&gt;&lt;TD class="xl64"&gt;1.9%&lt;/TD&gt;&lt;TD class="xl63"&gt;101&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15pt;"&gt;4&lt;/TD&gt;&lt;TD class="xl63"&gt;1021&lt;/TD&gt;&lt;TD class="xl64"&gt;1.1%&lt;/TD&gt;&lt;TD class="xl63"&gt;102.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15pt;"&gt;5&lt;/TD&gt;&lt;TD class="xl63"&gt;1030&lt;/TD&gt;&lt;TD class="xl64"&gt;0.9%&lt;/TD&gt;&lt;TD class="xl63"&gt;103&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Day &amp;amp; Prices are what I have and rest needs to be done by QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 10:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251185#M1207252</guid>
      <dc:creator />
      <dc:date>2010-04-13T10:26:49Z</dc:date>
    </item>
    <item>
      <title>Indexing Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251186#M1207255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could you provide business logic, how to calculate these indexes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251186#M1207255</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2010-04-13T11:03:52Z</dc:date>
    </item>
    <item>
      <title>Indexing Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251187#M1207257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The indexed value would show how much $100 if invested in the commodity grows to after every day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formulas for calculations are as under:&lt;/P&gt;&lt;P&gt;Return: today's Price / Yesterday's Price -1&lt;/P&gt;&lt;P&gt;1st Index value = 100 * (1+return)&lt;/P&gt;&lt;P&gt;Subsequent index values: Previous Index value * ( 1+ return)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251187#M1207257</guid>
      <dc:creator />
      <dc:date>2010-04-13T11:12:21Z</dc:date>
    </item>
    <item>
      <title>Indexing Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251188#M1207259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also attaching an excel to showcase the calculations&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251188#M1207259</guid>
      <dc:creator />
      <dc:date>2010-04-13T11:14:09Z</dc:date>
    </item>
    <item>
      <title>Indexing Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251189#M1207260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i think you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load ((price-previous(price))/10) as return in your script&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251189#M1207260</guid>
      <dc:creator />
      <dc:date>2010-04-13T11:19:44Z</dc:date>
    </item>
    <item>
      <title>Indexing Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251190#M1207261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have already used Peek for calculating returns, Need help with the index part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251190#M1207261</guid>
      <dc:creator />
      <dc:date>2010-04-13T11:44:57Z</dc:date>
    </item>
    <item>
      <title>Indexing Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251191#M1207262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;the formula for index which you have mentioned previousindex*(1+return)&lt;/P&gt;&lt;P&gt;gives 10 as the second index value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not clear as to what exactly u want&lt;/P&gt;&lt;P&gt;to me it seems that you are just dividing the price by 10 to get the index value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls be a bit more clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251191#M1207262</guid>
      <dc:creator />
      <dc:date>2010-04-13T11:52:26Z</dc:date>
    </item>
    <item>
      <title>Indexing Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251192#M1207263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use something simmilar:&lt;/P&gt;&lt;P&gt;IF(isnull(Peek('Index')), 100, PEEK('Index')) * (1 + [Expression for the Return Value]) AS Index&lt;/P&gt;&lt;P&gt;Replace [Expression for the Return Value] with your expression.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251192#M1207263</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2010-04-13T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Indexing Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251193#M1207264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 12:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indexing-Returns/m-p/251193#M1207264</guid>
      <dc:creator />
      <dc:date>2010-04-13T12:11:58Z</dc:date>
    </item>
  </channel>
</rss>

