Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Split one field based on another

swiles
5 - Atom

Hello,

I have data that I need new fields created based on the value in one field. If the value in the “isEnding” field is TRUE, then I need the amount to go to a new field “Ending”. If the value in “isEnding” is FALSE, then I need the amount to go to a new field “Beginning”. Attached is an Excel file with two worksheets, the Input and the desired output.

Thanks in advance for any suggestions!

Scott

1 REPLY 1
ChrisTX
15 - Aurora

Use the Formula tool to create two new fields

 

Beginning formula   If [isEnding] = 0 Then [Amount] else Null() Endif

 

Ending formula   If [isEnding] = 1 Then [Amount] else Null() Endif

Labels