<?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: Currency conversion qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1954542#M78725</link>
    <description>Hi I have now Currency conversion code as USD,CAD,MXN&lt;BR /&gt;I also have Exchange rates for jan1st 2022 to May 2022&lt;BR /&gt;Can anyone please help me now to convert currencies to USD&lt;BR /&gt;&lt;BR /&gt;Please help me out&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
    <pubDate>Tue, 12 Jul 2022 11:15:48 GMT</pubDate>
    <dc:creator>Bharathi09</dc:creator>
    <dc:date>2022-07-12T11:15:48Z</dc:date>
    <item>
      <title>Currency conversion qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1951390#M78409</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am developing an application it has field name called as cost currency it has currencies of USD,MXN,CAD&lt;/P&gt;
&lt;P&gt;All these should be converted to USD only&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Help me to solve this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 14:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1951390#M78409</guid>
      <dc:creator>Bharathi09</dc:creator>
      <dc:date>2022-07-04T14:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Currency conversion qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1952305#M78512</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume that you have something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt; "Cost"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;as &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;"Cost Original"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt; "Cost Currency"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;as &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;"Cost Currency"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;FROM &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;[...]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(...);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/e68479bc-c573-480e-953f-7c6bcbf7c987.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that use case scenario you can use:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Num&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;"Cost"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;PICK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Match&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;[Cost Currency]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;, &lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;'USD'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt; 'MXN'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;, &lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;'CAD'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;), 1, 20.68140, 1.30320), &lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;'#,##0.00;-#,##0.00'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(0, 0%, 0%);"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; as &lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;"Cost"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt; 'USD'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; as&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt; "Cost Currency"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;FROM &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;[...]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(...);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/e301b841-183b-4cbe-834c-039cc711cb82.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see it has converted all the&lt;STRONG&gt; Cost Currency&lt;/STRONG&gt; to appear as &lt;STRONG&gt;USD &lt;/STRONG&gt;and then converted the values as per the exchange rate supplied. &lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Match&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; function will return &lt;STRONG&gt;1, 2 or 3&lt;/STRONG&gt; value based on the currency and the &lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Pick&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; function will return &lt;STRONG&gt;1, 20.68, 1.30 &lt;/STRONG&gt;etc. Therefore if &lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Match&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; returns &lt;STRONG&gt;1&lt;/STRONG&gt; the&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Pick&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; function will return 1. So &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;Cost/1 = Cost&lt;/STRONG&gt;&lt;/SPAN&gt; which means that the value will not change for all USD currency values. However, if e.g. &lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Match&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; returns 2, then &lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Pick&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; will return 20.68, therefore &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;Cost/20.68 will give you the cost value of MXN in USD&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color:hsl(0, 75%, 60%);"&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(0, 0%, 30%);"&gt;&lt;STRONG&gt;: Keep in mind that you will have to manually supply the real exchange rate whenever you are going to reload the application and if you have more than 2 currencies that needs to be converted to USD, you will have to find a different approach supplying them. Maybe this article [1] will help you achieve you with further details.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;I&gt;&lt;STRONG&gt;I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members.&amp;nbsp;&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;[1] &lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-use-currency-exchange-rates-in-Qlik-Sense/td-p/1214259?attachment-id=23486" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-use-currency-exchange-rates-in-Qlik-Sense/td-p/1214259?attachment-id=23486&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 10:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1952305#M78512</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-07-06T10:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Currency conversion qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1952616#M78544</link>
      <description>Hi I got new more fields in my app now and for each date there is given exchange rate of converting one Currency to other&lt;BR /&gt;In that case how Can I convert&lt;BR /&gt;Please Help!!&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 07 Jul 2022 04:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1952616#M78544</guid>
      <dc:creator>Bharathi09</dc:creator>
      <dc:date>2022-07-07T04:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Currency conversion qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1952691#M78551</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately your use case scenario is a bit too complicated so it might not be fully supported by &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;Qlik Sense&lt;/STRONG&gt;&lt;/SPAN&gt;. You can try the following steps:&lt;/P&gt;
&lt;OL&gt;
 &lt;LI&gt;Create a &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;EXCEL &lt;/STRONG&gt;&lt;/SPAN&gt;file with &lt;STRONG&gt;Date, Cost Currency, Cost Currency Exchange Rate&lt;/STRONG&gt;&lt;/LI&gt;
 &lt;LI&gt;First load the dataset that you have&lt;/LI&gt;
 &lt;LI&gt;Iterate though each value in the dataset&lt;/LI&gt;
 &lt;LI&gt;Load the &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;EXCEL &lt;/STRONG&gt;&lt;/SPAN&gt;file and add a filter to match the current checking date with the current currency&lt;/LI&gt;
 &lt;LI&gt;if data is loaded, use the exchange rate to calculate the new cost value&lt;/LI&gt;
 &lt;LI&gt;If data is not loaded then it means that you don't have the exchange rate for that currency on that date&lt;/LI&gt;
 &lt;LI&gt;Delete temp table&lt;/LI&gt;
 &lt;LI&gt;Move to next value in the dataset&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;I&gt;&lt;STRONG&gt;Additionally:&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
 &lt;LI&gt;&amp;nbsp;If you found the exchange rate in step 5, then replace the cost value with the new calculated one and the cost currency with &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;'USD'&lt;/STRONG&gt;&lt;/SPAN&gt;, however if you haven't found it, then use the current cost value as it is and in cost currency save the string &lt;SPAN style="color:hsl(0, 75%, 60%);"&gt;&lt;STRONG&gt;'NOT FOUND'&lt;/STRONG&gt;&lt;/SPAN&gt;. This will help you identify any missing exchange rates from your dataset and ensure that you don't have any wrong cost values saved in your new loaded dataset.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;I&gt;&lt;STRONG&gt;I hope that this information is helpful&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 08:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1952691#M78551</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-07-07T08:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Currency conversion qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1954542#M78725</link>
      <description>Hi I have now Currency conversion code as USD,CAD,MXN&lt;BR /&gt;I also have Exchange rates for jan1st 2022 to May 2022&lt;BR /&gt;Can anyone please help me now to convert currencies to USD&lt;BR /&gt;&lt;BR /&gt;Please help me out&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Tue, 12 Jul 2022 11:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-conversion-qlik-sense/m-p/1954542#M78725</guid>
      <dc:creator>Bharathi09</dc:creator>
      <dc:date>2022-07-12T11:15:48Z</dc:date>
    </item>
  </channel>
</rss>

