Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

FX Conversion

tomtingley
8 - Asteroid

Hi,

 

I'm looking to create exactly the same format of the 'Local CCY' tab, but convert that data to USD using the rates from the 'FX Rates' tab.

 

The rates are split only by yearly averages, so for all months Jan-Dec 22, I would want to use the corresponding 2022 Average FX Rate.

 

As an example, Jan22 has 1,803 GBP Electricity. Therefore, using the 2022 GBP Annual Average Rate (1.231933333), this would become:

 

1803 * 1.231933333 = 2,221.2

 

Thanks,

Tom

2 REPLIES 2
ShankerV
17 - Castor

Hi @tomtingley 

 

One way of doing this.

 

ShankerV_0-1683628575625.png

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @tomtingley 

 

Step 1: Input the data.

 

ShankerV_0-1683628637275.png

 

Step 2:

 

ShankerV_0-1683628702758.png

ShankerV_1-1683628717830.png

 

Step 3:

 

ShankerV_2-1683628738535.png

 

ShankerV_3-1683628752086.png

 

Step 4:

 

ShankerV_4-1683628971505.png

 

ShankerV_5-1683628984738.png

 

 

Step 5: 

 

ShankerV_6-1683629018097.png

 

ShankerV_7-1683629028766.png

 

Step 6:

 

ShankerV_8-1683629055217.png

 

ShankerV_9-1683629079099.png

 

 

Step 7:

 

ShankerV_10-1683629097375.png

 

tonumber([Value])*[Right_Value]

 

ShankerV_11-1683629111683.png

 

 Last step: 

 

ShankerV_12-1683629155565.png

ShankerV_13-1683629169955.png

 

 

Many thanks

Shanker V

 

 

 

Labels
Top Solution Authors