In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Creating New Column using Formula Tool

EricMartinson
7 - Meteor

Hello!

 

I am merging updated info from one document into the second to update specific fields without changing the original fields that are correct.

 

EricMartinson_0-1612573769634.png

 

I'm creating 12 new columns using the Formula Tool like this:

EricMartinson_1-1612573992121.png

 

This accomplishes my goal but is there a more efficient way to do this?

 

 

 

I thought maybe the Multi-Field Formula Tool:

Select "Right_" fields as fields to update and using this IIF statement:

 

IIF(([OJAN] = NULL()), [Right_OJAN], [OJAN])
IIF(([OFEB] = NULL()), [Right_OFEB], [OFEB])

 

But I couldn't get this to work. Thank you in advance for your feedback!

2 REPLIES 2
AkimasaKajitani
17 - Castor
17 - Castor

Hi @EricMartinson 

 

I created a workflow that uses the Formula Tool instead of the Multirow Formula Tool.
The data is once held vertically and then put back.

 

Correction File

AkimasaKajitani_0-1612588104511.png

 

Original File

AkimasaKajitani_1-1612588126895.png

 

Output

AkimasaKajitani_2-1612588141332.png

 

 

Solution

AkimasaKajitani_3-1612588155397.png

 

 

EricMartinson
7 - Meteor

@AkimasaKajitani this is perfect. Thank you!

Labels
Top Solution Authors