<?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 Currency exchange within incremental load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Currency-exchange-within-incremental-load/m-p/1533209#M600601</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I came up with the following solution to do&amp;nbsp;&amp;nbsp;incremental load and keep the Price and Quantity "unchanged" (attached).&lt;/P&gt;&lt;P&gt;I am trying to to implement a currency exchange table e.g.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ExchangeRate:
LOAD * Inline [
ID,	Currency,	Rate,	Date
1,	CAD,	0.11,	01.01.2017
2,	CHF,	0.22,	02.01.2017
3,	CNY,	0.33,	03.01.2017
4,	GBP,	0.44,	04.01.2017
5,	JPY, 	0.55,	05.01.2017
6,	USD,	0.66,	06.01.2017
7,	USD,	0.77,	10.01.2019
];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I have 2 issues:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp;I must convert the Price field based on rates in the script.&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;I have to save the new price and keep it unchanged, so in case the exchange rate changes, it should affect the new added rows, but not the old ones.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I will be glad if you can share your ideas with me.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ahmed&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2019 12:07:56 GMT</pubDate>
    <dc:creator>ahmed_hassan</dc:creator>
    <dc:date>2019-01-22T12:07:56Z</dc:date>
    <item>
      <title>Currency exchange within incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Currency-exchange-within-incremental-load/m-p/1533209#M600601</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I came up with the following solution to do&amp;nbsp;&amp;nbsp;incremental load and keep the Price and Quantity "unchanged" (attached).&lt;/P&gt;&lt;P&gt;I am trying to to implement a currency exchange table e.g.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ExchangeRate:
LOAD * Inline [
ID,	Currency,	Rate,	Date
1,	CAD,	0.11,	01.01.2017
2,	CHF,	0.22,	02.01.2017
3,	CNY,	0.33,	03.01.2017
4,	GBP,	0.44,	04.01.2017
5,	JPY, 	0.55,	05.01.2017
6,	USD,	0.66,	06.01.2017
7,	USD,	0.77,	10.01.2019
];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I have 2 issues:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp;I must convert the Price field based on rates in the script.&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;I have to save the new price and keep it unchanged, so in case the exchange rate changes, it should affect the new added rows, but not the old ones.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I will be glad if you can share your ideas with me.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 12:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currency-exchange-within-incremental-load/m-p/1533209#M600601</guid>
      <dc:creator>ahmed_hassan</dc:creator>
      <dc:date>2019-01-22T12:07:56Z</dc:date>
    </item>
  </channel>
</rss>

