Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Assigning accounts and transaction types to data

tiverson
8 - Asteroid

I have a small set of data that I want to assign accounts and transaction codes to, based on whether the account is <>0.

If the amount is >0, then I want to assign transaction code 05 to the ST account and 06 to the LT account

Data

tiverson_0-1647979701146.png

Account mapping table

tiverson_2-1647979909554.png

 

Desired output

tiverson_3-1647980248716.png

 

 

 

3 REPLIES 3
CathyS_Slalom
9 - Comet

Hi @tiverson, see attached example workflow. 

binuacs
21 - Polaris

@tiverson 

binuacs_0-1647983920417.png

 

tiverson
8 - Asteroid

@binuacs , your solution worked, I just needed to add a formula to switch signs with the LT account amount

Labels
Top Solution Authors