I have a requirement to build a query based on three sales tables. The challenge is that the "product pricing" and "rebate" fields are in their native currencies (Canadian dollars, US dollars and Euro). The US entries are flagged with the "U" values, the European entries are flagged with an "E" value while the Canadian entries are not flagged at all - they are left blank in the "Currency Type" field.
The requirements are:
1. To build a new "converted to Canadian$ price" and "converted to Canadian$ rebate" fields in the query for all US and Euro entries
2. To copy the Canadian values to these new fields as is
3. Use the DAILY currency exchange conversion rates from the "Currency Exchange History" table.
My challenge is to properly link the three tables that can get me the results above. Please find attached the tables and the query.
Thank you for any suggestions.
The requirements are:
1. To build a new "converted to Canadian$ price" and "converted to Canadian$ rebate" fields in the query for all US and Euro entries
2. To copy the Canadian values to these new fields as is
3. Use the DAILY currency exchange conversion rates from the "Currency Exchange History" table.
My challenge is to properly link the three tables that can get me the results above. Please find attached the tables and the query.
Thank you for any suggestions.