Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Index Match replacement for FX rate based on

a4nola
5 - Atom
 

I am trying to achieve a similar result to index match and fill out the FX rate on the second chart using the Date period and the Currency Code.

 

How would this be achieved in Alteryx? I attempted Join but would need another formula on it not sure if there is a quicker way

 

Currency Code202301202302202303202304202305
AFA0.0115450.0111210.0111830.0113730.011555
AFN0.0115450.0111210.0111830.0113730.011555
ALL0.0092570.0092340.0092490.0092030.009704
DZD0.0072590.0073240.0073250.0073210.0074
AOK0.0000010.0000010.0000010.0000010.000001
AOA0.0019640.0019770.0019610.001960.001956
AOR0.0000010.0000010.0000010.0000010.000001

 

Currency CodeCCYFX Rate
202301AFA 
202302AFN 
202311ALL 
202302DZD 
202302AOK 
202306AOA 
202307AOR 
202308XCD 
202309ARS 
202310AMD 
202311AWG 
202312AUD 
6 REPLIES 6
kamal03
9 - Comet

Can you please provide a sample output? 

a4nola
5 - Atom

Here is the sample Output 

 

Currency CodeCCYFX Rate
202301AFA0.011545
202302AFN0.011121
202311ALL0.010035
202302DZD0.007324
202302AOK0.000001
202306AOA0.001949
202307AOR0.000001
202308XCD0.37037
202309ARS0.002857
202310AMD0.002594
202311AWG0.558659
202312AUD0.63768
aatalai
15 - Aurora

can you transpose the data? you might then need to use a select tool to reorder the columns, but thats how I would do it. LEt me know if that helps

a4nola
5 - Atom

I cut down the output file to make it simpler but in the actual file there would many different fields along with Acct period and Currency. So transposing wont work for this use case.

aatalai
15 - Aurora

@a4nola couldn't you set those fields as key columns in the transpose tool?

kamal03
9 - Comet

Hi @a4nola 

 

Please correct me if I am wrong, Based on my understandingI have created this workflow, Let me know if this aligns with your requirements or not.

 

 

 

Thanks

Kamal Sharma

Labels
Top Solution Authors