<?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 Using data from one time period to compute values in another time period. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-data-from-one-time-period-to-compute-values-in-another/m-p/1168002#M909240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question regarding comparison of two time periods. I have no idea on how to code this in Qlik. Any idea is welcome.&lt;/P&gt;&lt;P&gt;The user can freely select what is period 1 and period 2, example, Q1 15 and Q1 16 or Q1 16 and Q2 16 or June 16 and July 16&lt;/P&gt;&lt;P&gt;The analysis is in both constant dollars and local currency &lt;/P&gt;&lt;P&gt;The first period dollar amount must be recomputed using the exchange rate of the second period&lt;/P&gt;&lt;P&gt;Exchange rate of second period is Price in dollar / price in local currency&lt;/P&gt;&lt;P&gt;This exchange rate can cover one or more months, including months which are in the future (Orders)&lt;/P&gt;&lt;P&gt;The dollar price of the first period is recomputed using the Price local currency Period 1 * exchange rate of period 2&lt;/P&gt;&lt;P&gt;The dollar amount of period 1 is computed using units of period 1 * recomputed&amp;nbsp; Dollar price period 1&lt;/P&gt;&lt;P&gt;This works when the local currency code is displayed however I need to present the straight table using different levels of aggregations and I need to show a total.&lt;/P&gt;&lt;P&gt;The problem is that the exchange rate is then computed using the sum of different currencies and this is wrong&lt;/P&gt;&lt;P&gt;I would need something that computes (or materialize) the individual values and then the aggregations (or the total) should sum these individual values instead of using an exchange rate.&lt;/P&gt;&lt;P&gt;I do not think I can compute these values in the loading script since the user may select any period for period 1 and period 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Using data from one time period to compute values in another time period.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-from-one-time-period-to-compute-values-in-another/m-p/1168002#M909240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question regarding comparison of two time periods. I have no idea on how to code this in Qlik. Any idea is welcome.&lt;/P&gt;&lt;P&gt;The user can freely select what is period 1 and period 2, example, Q1 15 and Q1 16 or Q1 16 and Q2 16 or June 16 and July 16&lt;/P&gt;&lt;P&gt;The analysis is in both constant dollars and local currency &lt;/P&gt;&lt;P&gt;The first period dollar amount must be recomputed using the exchange rate of the second period&lt;/P&gt;&lt;P&gt;Exchange rate of second period is Price in dollar / price in local currency&lt;/P&gt;&lt;P&gt;This exchange rate can cover one or more months, including months which are in the future (Orders)&lt;/P&gt;&lt;P&gt;The dollar price of the first period is recomputed using the Price local currency Period 1 * exchange rate of period 2&lt;/P&gt;&lt;P&gt;The dollar amount of period 1 is computed using units of period 1 * recomputed&amp;nbsp; Dollar price period 1&lt;/P&gt;&lt;P&gt;This works when the local currency code is displayed however I need to present the straight table using different levels of aggregations and I need to show a total.&lt;/P&gt;&lt;P&gt;The problem is that the exchange rate is then computed using the sum of different currencies and this is wrong&lt;/P&gt;&lt;P&gt;I would need something that computes (or materialize) the individual values and then the aggregations (or the total) should sum these individual values instead of using an exchange rate.&lt;/P&gt;&lt;P&gt;I do not think I can compute these values in the loading script since the user may select any period for period 1 and period 2&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/Using-data-from-one-time-period-to-compute-values-in-another/m-p/1168002#M909240</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using data from one time period to compute values in another time period.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-from-one-time-period-to-compute-values-in-another/m-p/1168003#M909241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to provide some sample data with the expected result you are looking for...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 00:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-from-one-time-period-to-compute-values-in-another/m-p/1168003#M909241</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-22T00:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using data from one time period to compute values in another time period.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-from-one-time-period-to-compute-values-in-another/m-p/1168004#M909242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question is closed, I did two things that solved the issue&lt;BR /&gt;- Changed the total computation to be sum of rows&lt;/P&gt;&lt;P&gt;- Added the currency dimension to the aggr expressions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 23:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-from-one-time-period-to-compute-values-in-another/m-p/1168004#M909242</guid>
      <dc:creator />
      <dc:date>2016-06-22T23:26:52Z</dc:date>
    </item>
  </channel>
</rss>

