<?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: Unable to do calculation using the Daily exchange rate in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-do-calculation-using-the-Daily-exchange-rate/m-p/2250178#M34489</link>
    <description>What is the data type of these fields? Can you upload a screenshot of tMap to show how you use the expression now? 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Thu, 14 May 2020 02:42:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-14T02:42:19Z</dc:date>
    <item>
      <title>Unable to do calculation using the Daily exchange rate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-do-calculation-using-the-Daily-exchange-rate/m-p/2250177#M34488</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to implement the below logic in Talend: whats the best way to implement this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;IIF(Currency=EUR, then&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Items_total_EUR = Items_total/100&lt;BR /&gt;Items_total_LCur = Items_total/100&lt;BR /&gt;Total_EUR = Total/100&lt;BR /&gt;Total_LCur = Total/100&lt;/P&gt;
&lt;P&gt;IIF(Currency=CHF, then&lt;BR /&gt;row1.currency.matches("CHF")?&lt;/P&gt;
&lt;P&gt;Items_total_EUR = (Items_total/100)/CHF conversion rate for that day&lt;BR /&gt;Items_total_LCur = Items_total/100&lt;BR /&gt;Items_total_EUR = (Total/100)/CHF conversion rate for that day&lt;BR /&gt;Total_LCur = Total/100&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So basically,&amp;nbsp;Items_total_EUR and&amp;nbsp;Items_total_EUR fields need to be populated when the currency is in CHF(swiss francs) by dividing the values. Now using the LKP on my currency Table, I am unable to create a new port for exchange rate. Talend gives me an error "unable to resolve Variable port Exchange_rate" if i try to create a new port in Tmap Expression and pass this value to 2nd Tmap. Please suggest whats the issue here?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-do-calculation-using-the-Daily-exchange-rate/m-p/2250177#M34488</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2024-11-16T02:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to do calculation using the Daily exchange rate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-do-calculation-using-the-Daily-exchange-rate/m-p/2250178#M34489</link>
      <description>What is the data type of these fields? Can you upload a screenshot of tMap to show how you use the expression now? 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 14 May 2020 02:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-do-calculation-using-the-Daily-exchange-rate/m-p/2250178#M34489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-14T02:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to do calculation using the Daily exchange rate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-do-calculation-using-the-Daily-exchange-rate/m-p/2250179#M34490</link>
      <description>&lt;P&gt;The issue is resolved now. there was a syntax issue from my side.&lt;/P&gt;&lt;P&gt;Sorry for the inconvience!&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 11:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-do-calculation-using-the-Daily-exchange-rate/m-p/2250179#M34490</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-05-14T11:33:22Z</dc:date>
    </item>
  </channel>
</rss>

