<?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: Adding currency conversion rate field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-currency-conversion-rate-field/m-p/575496#M1116660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is your date used as a dimension in your graph ?&lt;/P&gt;&lt;P&gt;if so sum(values * exchangert) should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not&lt;/P&gt;&lt;P&gt;sum(values) * avg(exchange_rt) would take the average of exchange_rt for all selected date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to apply only last exchange_rt to all values&lt;/P&gt;&lt;P&gt;sum(values) * aggr(exchanger_rt, max(date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2014 12:43:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-12T12:43:01Z</dc:date>
    <item>
      <title>Adding currency conversion rate field</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-currency-conversion-rate-field/m-p/575494#M1116655</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 have an expression that calculates a value in USD and I would like to convert this to EUR based on the current day exchange rate (this data is held within our system).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields are:&lt;/P&gt;&lt;P&gt;curr_cd&lt;/P&gt;&lt;P&gt;exchange_date&lt;/P&gt;&lt;P&gt;exchange_rt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I could add the following expression field to my Table, however this does not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;exchange_date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='12/02/2014' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;curr_cd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='EUR',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;exchange_rt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Basically I want to either add a column showing today's EUR exchange rate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Any help would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 12:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-currency-conversion-rate-field/m-p/575494#M1116655</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2014-02-12T12:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding currency conversion rate field</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-currency-conversion-rate-field/m-p/575495#M1116657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this link will help you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/thread/17264" title="http://community.qlik.com/thread/17264"&gt;HOW TO CHANGE EURO VALUE ?? | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 12:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-currency-conversion-rate-field/m-p/575495#M1116657</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-02-12T12:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding currency conversion rate field</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-currency-conversion-rate-field/m-p/575496#M1116660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is your date used as a dimension in your graph ?&lt;/P&gt;&lt;P&gt;if so sum(values * exchangert) should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not&lt;/P&gt;&lt;P&gt;sum(values) * avg(exchange_rt) would take the average of exchange_rt for all selected date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to apply only last exchange_rt to all values&lt;/P&gt;&lt;P&gt;sum(values) * aggr(exchanger_rt, max(date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 12:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-currency-conversion-rate-field/m-p/575496#M1116660</guid>
      <dc:creator />
      <dc:date>2014-02-12T12:43:01Z</dc:date>
    </item>
  </channel>
</rss>

