<?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: Double data returned with multiple currency rates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Double-data-returned-with-multiple-currency-rates/m-p/1601133#M596555</link>
    <description>&lt;P&gt;Daniel,&lt;/P&gt;
&lt;P&gt;I am pretty certain this has to do with your data model, but folks are not likely responding as without a sample app to review things fully, they are likely hesitant to reply here, so if you are still struggling with things, if you can attach a reduced version etc. such that folks can see the full data model and your script and expressions, they may be able to come up with something at that point.&amp;nbsp; I am not a great developer, so I cannot really pose any good ideas here, but I would be willing to bet it likely has to do with the data model based upon what you have described, and with even a reduced model, folks would be able to see what your table structure looks like to know if that is the problem or not...&amp;nbsp; Sorry I do not have anything better here, but if you can attach something, I am betting someone will have a look and give you some feedback at that point.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2019 21:21:53 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-07-10T21:21:53Z</dc:date>
    <item>
      <title>Double data returned with multiple currency rates</title>
      <link>https://community.qlik.com/t5/QlikView/Double-data-returned-with-multiple-currency-rates/m-p/1589404#M596554</link>
      <description>&lt;P&gt;I have an issue where, if a second currency is added for second month, figures and rates for the initial month are doubled, skewed when manually calculating but correct in the SUM().&lt;/P&gt;&lt;P&gt;I currently lookup to a translation table for currency conversions.&lt;BR /&gt;Here is the load code&lt;BR /&gt;//Load the currency fields as lookupgbp\\&lt;/P&gt;&lt;P&gt;Map_Currency_Rate1:&lt;BR /&gt;Mapping Load&lt;BR /&gt;[Base Currency] &amp;amp; '|' &amp;amp; Date([Voucher Date],'DD/MM/YYYY') AS CurrencyKey1,&lt;BR /&gt;[FX rate Base to GBP]&lt;BR /&gt;FROM&lt;BR /&gt;[\\FILE01\Support Files\QVFiles\Group Sales Report\Mapping\Qlikview mapping_V6 (updated Item type mapping).xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is FXMAPtoGBP);&lt;/P&gt;&lt;P&gt;//Load the currency fields as lookup hkd\\&lt;/P&gt;&lt;P&gt;Map_Currency_Rate2:&lt;BR /&gt;Mapping Load&lt;BR /&gt;[Base Currency] &amp;amp; '|' &amp;amp; Date([Voucher Date],'DD/MM/YYYY') AS CurrencyKey2,&lt;BR /&gt;[FX rate Base to HKD]&lt;BR /&gt;FROM&lt;BR /&gt;[\\FILE01\Support Files\QVFiles\Group Sales Report\Mapping\Qlikview mapping_V6 (updated Item type mapping).xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is FXMAPtoHKD);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD [Base Currency],&lt;BR /&gt;//[Voucher Date],&lt;BR /&gt;[FX rate Base to GBP]&lt;BR /&gt;FROM&lt;BR /&gt;[\\FILE01\Support Files\QVFiles\Group Sales Report\Mapping\Qlikview mapping_V6 (updated Item type mapping).xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is FXMAPtoGBP);&lt;/P&gt;&lt;P&gt;LOAD [Base Currency],&lt;BR /&gt;//[Voucher Date],&lt;BR /&gt;[FX rate Base to HKD]&lt;BR /&gt;FROM&lt;BR /&gt;[\\FILE01\Support Files\QVFiles\Group Sales Report\Mapping\Qlikview mapping_V6 (updated Item type mapping).xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is FXMAPtoHKD);&lt;/P&gt;&lt;P&gt;When I load a single month of currency for all location I get a correct return in the SUM and also manual calculation. Here is the format of using INR as an example&lt;BR /&gt;INR 01/01/2019 0.1122&lt;BR /&gt;INR 02/01/2019 0.1122&lt;BR /&gt;INR 03/01/2019 0.1122&lt;BR /&gt;INR 04/01/2019 0.1122&lt;BR /&gt;INR 05/01/2019 0.1122&lt;BR /&gt;INR 06/01/2019 0.1122&lt;BR /&gt;INR 07/01/2019 0.1122&lt;BR /&gt;INR 08/01/2019 0.1122&lt;BR /&gt;INR 09/01/2019 0.1122&lt;BR /&gt;INR 10/01/2019 0.1122&lt;BR /&gt;INR 11/01/2019 0.1122&lt;BR /&gt;INR 12/01/2019 0.1122&lt;BR /&gt;INR 13/01/2019 0.1122&lt;BR /&gt;INR 14/01/2019 0.1122&lt;BR /&gt;INR 15/01/2019 0.1122&lt;BR /&gt;INR 16/01/2019 0.1122&lt;BR /&gt;INR 17/01/2019 0.1122&lt;BR /&gt;INR 18/01/2019 0.1122&lt;BR /&gt;INR 19/01/2019 0.1122&lt;BR /&gt;INR 20/01/2019 0.1122&lt;BR /&gt;INR 21/01/2019 0.1122&lt;BR /&gt;INR 22/01/2019 0.1122&lt;BR /&gt;INR 23/01/2019 0.1122&lt;BR /&gt;INR 24/01/2019 0.1122&lt;BR /&gt;INR 25/01/2019 0.1122&lt;BR /&gt;INR 26/01/2019 0.1122&lt;BR /&gt;INR 27/01/2019 0.1122&lt;BR /&gt;INR 28/01/2019 0.1122&lt;BR /&gt;INR 29/01/2019 0.1122&lt;BR /&gt;INR 30/01/2019 0.1122&lt;BR /&gt;INR 31/01/2019 0.1122&lt;/P&gt;&lt;P&gt;Feb&lt;BR /&gt;INR 01/02/2019 0.1220&lt;BR /&gt;When I make a repeat of the above for the days of Feb with a different rate and filter on Voucher date in the report, I am seeing both the rate for Jan and Feb and there for having duplicate lines of data and the FX RATE in the Table is – null. When I remove the ratees for FEB INR. The data is perfect.&lt;/P&gt;&lt;P&gt;Has anyone experienced anything like this and do you have any advice please?&lt;BR /&gt;Thank you&lt;BR /&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-data-returned-with-multiple-currency-rates/m-p/1589404#M596554</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2024-11-16T20:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Double data returned with multiple currency rates</title>
      <link>https://community.qlik.com/t5/QlikView/Double-data-returned-with-multiple-currency-rates/m-p/1601133#M596555</link>
      <description>&lt;P&gt;Daniel,&lt;/P&gt;
&lt;P&gt;I am pretty certain this has to do with your data model, but folks are not likely responding as without a sample app to review things fully, they are likely hesitant to reply here, so if you are still struggling with things, if you can attach a reduced version etc. such that folks can see the full data model and your script and expressions, they may be able to come up with something at that point.&amp;nbsp; I am not a great developer, so I cannot really pose any good ideas here, but I would be willing to bet it likely has to do with the data model based upon what you have described, and with even a reduced model, folks would be able to see what your table structure looks like to know if that is the problem or not...&amp;nbsp; Sorry I do not have anything better here, but if you can attach something, I am betting someone will have a look and give you some feedback at that point.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 21:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-data-returned-with-multiple-currency-rates/m-p/1601133#M596555</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-07-10T21:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Double data returned with multiple currency rates</title>
      <link>https://community.qlik.com/t5/QlikView/Double-data-returned-with-multiple-currency-rates/m-p/1640449#M596556</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for taking the time to resolve, yes, there was an issue with the data model which was resolved&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 15:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-data-returned-with-multiple-currency-rates/m-p/1640449#M596556</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2019-10-28T15:45:51Z</dc:date>
    </item>
  </channel>
</rss>

