<?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: Inflation Index calculation in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692631#M1062497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, I've made some tests and it looks good, totals too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amaury&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 07:38:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-29T07:38:39Z</dc:date>
    <item>
      <title>Inflation Index calculation in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692625#M1062491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue with a calculation. I'm using the Laspeyres index formula to define an inflation.&lt;/P&gt;&lt;P&gt;It is working this way :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="6a66fc7c1b7063477451232aa10b6b3b.png" class="jive-image" src="http://upload.wikimedia.org/math/6/a/6/6a66fc7c1b7063477451232aa10b6b3b.png" /&gt;&lt;/P&gt;&lt;P&gt;where Pt;i = Price at the moment (ex : August 2014)&lt;/P&gt;&lt;P&gt;Q0;i = Reference Quantity (Ex : taking January 2014 as reference, it's the quantity sold in January)&lt;/P&gt;&lt;P&gt;P0;i = Reference Price (Price of the product in January 2014)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This leads to an index which will be 100 in January and will evolve month by month, regarding the price inflation.&lt;/P&gt;&lt;P&gt;I want to show it in a chart (pivot table) like this :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-09-25 11_00_16-QlikView x64 - [Q__QV_Publisher_Dev_PUBLISH_DATAWARE_CPI_CPI_community.qvw_].png" class="jive-image" src="/legacyfs/online/67644_2014-09-25 11_00_16-QlikView x64 - [Q__QV_Publisher_Dev_PUBLISH_DATAWARE_CPI_CPI_community.qvw_].png" style="width: 620px; height: 124px;" /&gt;&lt;/P&gt;&lt;P&gt;however, i'm currently unable to make my index work for the other months.&lt;/P&gt;&lt;P&gt;I can't pick the reference Price in the calculation, it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am a bit out of ideas, do someone have any lead ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a sample of data with the model.&lt;/P&gt;&lt;P&gt;Thanks by advance.&lt;/P&gt;&lt;P&gt;Best Regards, !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692625#M1062491</guid>
      <dc:creator />
      <dc:date>2014-09-25T09:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Inflation Index calculation in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692626#M1062492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to change the price in the denominator to show january, regardless of the month in the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/to disregard the dimension,you can use the &amp;lt;total&amp;gt; function. Below, I've totalled it as the total for the product description. Then use set analysis to pick out january. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg({&amp;lt;MOIS_FAC={'2014-01'}&amp;gt;} total &amp;lt;[Product Description (EN)]&amp;gt; PA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692626#M1062492</guid>
      <dc:creator />
      <dc:date>2014-09-25T09:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inflation Index calculation in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692627#M1062493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function I end up with is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg(PA)/&lt;/P&gt;&lt;P&gt;avg({&amp;lt;MOIS_FAC={'2014-01'}&amp;gt;} total &amp;lt;[Product Description (EN)]&amp;gt; PA)*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The quantities reduce each other out as you are doing it by product, so you don't need them unless you are grouping them up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692627#M1062493</guid>
      <dc:creator />
      <dc:date>2014-09-25T09:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Inflation Index calculation in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692628#M1062494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for having a look.&lt;/P&gt;&lt;P&gt;However, i'm using the sum function at the end to be able to group the values at a higher level.&lt;/P&gt;&lt;P&gt;Here is what it looks at a higher level. I should get the index for each row, however i only get a real index at the total row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="67647" alt="2014-09-25 14_30_20-QlikView x64 - [Q__QV_Publisher_Dev_PUBLISH_DATAWARE_CPI_CPI_community.qvw_].png" class="jive-image" src="/legacyfs/online/67647_2014-09-25 14_30_20-QlikView x64 - [Q__QV_Publisher_Dev_PUBLISH_DATAWARE_CPI_CPI_community.qvw_].png" style="width: 620px; height: 99px;" /&gt;&lt;/P&gt;&lt;P&gt;The quantity is used to weight the product price at a higher level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 12:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692628#M1062494</guid>
      <dc:creator />
      <dc:date>2014-09-25T12:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Inflation Index calculation in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692629#M1062495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybody else encountered this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692629#M1062495</guid>
      <dc:creator />
      <dc:date>2014-09-26T07:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Inflation Index calculation in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692630#M1062496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hadn't noticed the aggregation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add the invoiced quantity in the expression, inside a sum. I think this works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(PA *&amp;nbsp; [Invoiced Quantity in January])/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MOIS_FAC={'2014-01'}&amp;gt;} total &amp;lt;[Product Description (EN)]&amp;gt; PA * [Invoiced Quantity in January])*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Infact it almost mimics the formula!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What totals are you expecting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 08:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692630#M1062496</guid>
      <dc:creator />
      <dc:date>2014-09-26T08:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Inflation Index calculation in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692631#M1062497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, I've made some tests and it looks good, totals too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amaury&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inflation-Index-calculation-in-Chart/m-p/692631#M1062497</guid>
      <dc:creator />
      <dc:date>2014-09-29T07:38:39Z</dc:date>
    </item>
  </channel>
</rss>

