<?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 Multi-Currency in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multi-Currency/m-p/331538#M122150</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've created a QV document with three objectes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) A currency selector, to select the currency that I want to work in the document.&lt;/P&gt;&lt;P&gt;2) One table with the Exchange Rates between my local currencies and all of possibles work-currencies (in this document).&lt;/P&gt;&lt;P&gt;3) Another table with three columns loaded from an XLS and one calculated expression called "Rated Value".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to know is which expression I have to use to see in the column "Rated Value" the converted value from Value ( in ValueCurrency on ValueDate ) * ExchangeRate (from local currency to selected currency on ValueDate). I left the expresion filled with '??' for an easy location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach the document because I think it helps the explanation of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Joaquín&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2012 15:38:43 GMT</pubDate>
    <dc:creator>Joaquin_Lazaro</dc:creator>
    <dc:date>2012-05-31T15:38:43Z</dc:date>
    <item>
      <title>Multi-Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Currency/m-p/331538#M122150</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've created a QV document with three objectes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) A currency selector, to select the currency that I want to work in the document.&lt;/P&gt;&lt;P&gt;2) One table with the Exchange Rates between my local currencies and all of possibles work-currencies (in this document).&lt;/P&gt;&lt;P&gt;3) Another table with three columns loaded from an XLS and one calculated expression called "Rated Value".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to know is which expression I have to use to see in the column "Rated Value" the converted value from Value ( in ValueCurrency on ValueDate ) * ExchangeRate (from local currency to selected currency on ValueDate). I left the expresion filled with '??' for an easy location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach the document because I think it helps the explanation of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Joaquín&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 15:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Currency/m-p/331538#M122150</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2012-05-31T15:38:43Z</dc:date>
    </item>
    <item>
      <title>Multi-Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Currency/m-p/331539#M122151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to model your data differently to achieve the desired currency convertion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The currency Rates table should looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ValueCurrency ("from")&lt;/P&gt;&lt;P&gt;DisplayCurrency ("to")&lt;/P&gt;&lt;P&gt;From Date&lt;/P&gt;&lt;P&gt;To Date&lt;/P&gt;&lt;P&gt;Conversion Rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Your data needs to be linked to the currency table through the field ValueCurrency, and Date, using INTERVALMATCH. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2a. If you don't want to use INTERVALMATCH, you can simplify the relation if you generate daily rates in your Currency Table, so instead of a single row: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From Jan 1 2012 To Jan 7 2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you'd have 7 rows with each date listed separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you did that, then you could simply join by Currency and Date. You'd get a small Synthetic key, which is relatively innocent. You can use a concatenated key to avoid it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Use the field "DisplayCurrency" to present on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Remember that you need to supply even the obvious conversion rates from the same currency to the same currency (unless you want to mess with IF conditions everywhere):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Currency: USD&lt;/P&gt;&lt;P&gt;To Currency : USD&lt;/P&gt;&lt;P&gt;Rate: 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FInally, with all of it in place, your expression will be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Value*[Conversion Rate])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 16:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Currency/m-p/331539#M122151</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2012-05-31T16:29:08Z</dc:date>
    </item>
  </channel>
</rss>

