<?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 Convert Multiple Currency Sales to USD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362962#M417502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my data set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 498px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="170"&gt;&lt;STRONG&gt;Id&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;&lt;STRONG&gt;Currency&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Rate&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="132"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000hWz9cEAC&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BRL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;3.1108&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$3,274,581.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci0000006gMZrEAM&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$53,726,100.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NahCXEAZ&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$155,849,641.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci0000006hAWDEA2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$36,332,593.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000j3KEhEAM&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;EUR&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.951022&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$6,159,000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000j3KHREA2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;EUR&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.951022&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$25,480,000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NZ1v8EAD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$3,696,902.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000j3PgQEAU&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$5,804,945.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NZ1f0EAD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$8,297,931.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000hWP9HEAW&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$24,671,190.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000hWsBlEAK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$1,555,166.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NaSSEEA3&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$2,530,000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exchange Rate Table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="64"&gt;Currency&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Rate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BRL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3.1108&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;EUR&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.951022&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;EUR&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.951022&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;USD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;USD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to convert all sales to USD and present into final table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I'm trying expression something like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Currency,'GBP',sum(Sales)/Rate,if(Currency,'BRL',sum(Sales)/Rate.....and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is there any best way of doing exchange rate conversion .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need all sales figures in USD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jun 2017 06:52:31 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2017-06-27T06:52:31Z</dc:date>
    <item>
      <title>Convert Multiple Currency Sales to USD</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362962#M417502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my data set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 498px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="170"&gt;&lt;STRONG&gt;Id&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;&lt;STRONG&gt;Currency&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Rate&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="132"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000hWz9cEAC&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BRL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;3.1108&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$3,274,581.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci0000006gMZrEAM&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$53,726,100.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NahCXEAZ&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$155,849,641.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci0000006hAWDEA2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$36,332,593.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000j3KEhEAM&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;EUR&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.951022&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$6,159,000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000j3KHREA2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;EUR&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.951022&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$25,480,000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NZ1v8EAD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$3,696,902.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000j3PgQEAU&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$5,804,945.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NZ1f0EAD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$8,297,931.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000hWP9HEAW&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$24,671,190.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000hWsBlEAK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$1,555,166.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NaSSEEA3&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$2,530,000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exchange Rate Table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="64"&gt;Currency&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Rate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BRL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3.1108&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CNY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6.886&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;EUR&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.951022&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;EUR&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.951022&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GBP&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.81367&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;USD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;USD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to convert all sales to USD and present into final table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I'm trying expression something like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Currency,'GBP',sum(Sales)/Rate,if(Currency,'BRL',sum(Sales)/Rate.....and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is there any best way of doing exchange rate conversion .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need all sales figures in USD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 06:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362962#M417502</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2017-06-27T06:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Multiple Currency Sales to USD</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362963#M417503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your sales already shows in $ in your table, but I am guessing this is the local currency right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your table are as above, just add the following line to your load script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;Sales * Rate &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;as&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt; USDSales&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;The above will take the sales and multiply it by the rate of the same row, and your rows already contain both the rate and local currency sales number.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 07:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362963#M417503</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2017-06-27T07:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Multiple Currency Sales to USD</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362964#M417504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you have the rates already in your data table. Why can't you simply divide Sales by Rate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 07:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362964#M417504</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-06-27T07:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Multiple Currency Sales to USD</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362965#M417505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is correct data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="400"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="170"&gt;Id&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Currency&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="132"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000hWz9cEAC&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BRL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$3,274,581.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci0000006gMZrEAM&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CNY&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$53,726,100.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NahCXEAZ&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CNY&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$155,849,641.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci0000006hAWDEA2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CNY&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$36,332,593.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000j3KEhEAM&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;EUR&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$6,159,000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000j3KHREA2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;EUR&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$25,480,000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NZ1v8EAD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$3,696,902.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000j3PgQEAU&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$5,804,945.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NZ1f0EAD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$8,297,931.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000hWP9HEAW&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;GBP&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$24,671,190.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0C3100000hWsBlEAK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USD&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$1,555,166.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a0Ci000000NaSSEEA3&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USD&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$2,530,000.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rate is coming from other table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result need to be a bar chart with Month as Dim and Sale in USD as expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is the when I'm doing exchange rate calculation for USD, some of the months are missing :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168173_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if same USD in Million I'm calling in table as below you can see data for Mar and Apr , don't know what's the issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/168175_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 07:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362965#M417505</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2017-06-27T07:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Multiple Currency Sales to USD</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362966#M417506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have link your data with exchange rate table based on currency then below expression should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum(aggr(sum(Sales)/sum( distinct Rate), Currency, Month))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 07:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362966#M417506</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-06-27T07:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Multiple Currency Sales to USD</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362967#M417507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load the rate exchange table as a map, i.e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mCurrencyExchange:&lt;/P&gt;&lt;P&gt;Mapping LOAD distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currency,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rate&lt;/P&gt;&lt;P&gt;Resident &lt;EM&gt;ExchangeRateTable&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then apply it to your currencytable with:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt; * &lt;/EM&gt;ApplyMap('mCurrencyExchange',&lt;STRONG&gt;&lt;EM&gt;Currency&lt;/EM&gt;&lt;/STRONG&gt;) as &lt;STRONG&gt;&lt;EM&gt;USDSales&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get the same result. Be careful though if there are differenct exchange rates for different months etc you need to take that into consideration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the months missing, there is not sufficient information on the app to know why that is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 07:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Multiple-Currency-Sales-to-USD/m-p/1362967#M417507</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2017-06-27T07:36:30Z</dc:date>
    </item>
  </channel>
</rss>

