Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

julia_hoedemake
New Contributor

Trying to convert data to USD with exchange rates

I am in the process of trying to convert my data with USD Average Rate.

Currently I have 3 tables that connect. These are what each excel sheet contains

1. Entity Code and Amount

2. Exchange rate and Entity Code

3. Date and Exchange rate.

I am not sure what function to use, but I want to convert the amount into USD through the data load editor. Currently right now my data shows the amounts in function currency. Those currencies range from variance currencies. I need to convert the numbers on excel sheet 1 to USD. I would like some feedback on how to convert the amounts.

Thanks!

Julia

Tags (1)
4 Replies
ychaitanya
Contributor III

Re: Trying to convert data to USD with exchange rates

Hi Julia

Please upload an excel sheet or sample data to provide the solution.

Thanks

CY

Re: Trying to convert data to USD with exchange rates

Assuming the amounts in sheet1 are not sensitive to Date, try something like this:

ExchangeMap:

MAPPING LOAD EntityCode, ExchangeRate

FROM ....(sheet is sheet2$);     // Load map from Sheet2

Sheet1:

LOAD

     EntityCode,

     Amount,

      ApplyMap('ExchangeMap', EntityCode, 1) * Amount as AmountLC

FROM ....(sheet is sheet1$);

-Rob

julia_hoedemake
New Contributor

Re: Trying to convert data to USD with exchange rates

I have uploaded sample files. I need to convert the amount in 'amount' file from CAD to USD. This is just an example, but in my master file there are multiple currency codes I need to convert.

julia_hoedemake
New Contributor

Re: Trying to convert data to USD with exchange rates

The sheet is date sensitive. I have uploaded sample files for reference.

Community Browser