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.
SOLVED

Create and populate a column using IF conditions

Inactive User
Not applicable

Hello community,

 

I'm looking to create column A (Change Type) and populate based on these conditions:

 

- If Column E (New Value)'s cell shows "Terminated", the value for that employee in Column A will populate "Terminated".

- If Column D doesn't show value for multiple rows but has values in Column E, then Column A should indicate "New Employee"

- If Column D & E have values for multiple rows then, populate "Update" in Column A.

 

I've attached the desire output. Hope it makes sense.

13 REPLIES 13
Luke_C
17 - Castor
17 - Castor

Hi @Inactive User 

 

It looks like you want to use a multi-row tool to fill down the values. Here's a thread that tells you how. Be sure to mark the replies to your post as solutions if they got you what you need.

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Use-multi-row-formula-to-copy-down/td-p/439802

 

Inactive User
Not applicable

@Emmanuel_G, I need to correct my previous question, the second column doesn't always have the value at the top. Does the multi row function still work?

 

richardzh_0-1663622734322.png

 

Emmanuel_G
13 - Pulsar

@Inactive User  No problem

 

Find attached the solution with this new dataset.

 

Please do not hesitate to mark the answer as solution if it helped.

 

Emmanuel_G_0-1663623360419.png

 

 

binuacs
21 - Polaris

@Inactive User One way of doing this

 

binuacs_0-1663623276242.png

 

Labels
Top Solution Authors