Free Trial

Alteryx Designer Desktop Discussions

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

Populating the currenty and amount

SH_94
11 - Bolide

Hi community,

 

I would like to ask how to populate the currrency and value for the below set of example data if i have mulitple currency and value as below.

 

The allocating the currency type will be based on the company code and type of currency.

 

Screenshot 2023-12-29 104239.png

 

 

Many thanks for the support.

3 REPLIES 3
WeiLi
7 - Meteor

Why not just use the formula tool?

 

Add 3 columns using the formula, called [LCC Currency Amount], repeat for GCC and HCC

 

[LCC Currency Amount]

IF [Currency Type] = 10 THEN [Currency Type] ELSE 0 ENDIF

 

[GCC Currency Amount]

IF [Currency Type] = 20 THEN [Currency Type] ELSE 0 ENDIF

 

[HCC Currency Amount]

IF [Currency Type] = 30 OR [Currency Type] = 50 THEN [Currency Type] ELSE 0 ENDIF

 

CoG
14 - Magnetar

@WeiLi- is absolutely correct for the last 3 columns, the first three will require summarizing and joining the data to achieve the full desired result:

_Screenshot.png

binuacs
21 - Polaris

@SH_94 Another approach

image.png

Labels
Top Solution Authors