Free Trial

Alteryx Designer Desktop Discussions

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

Updating Values on entire row(multiple columns) based on condition?

Aviator0807
8 - Asteroid

I want to zero out the row where Product 4 is. Is there an easier way to do it this, instead of creating 4 different field formulas for each column? 

ex.

Output: Store A

IF [Product] == 'Product 4' Then 0 ELSE [Product] ENDIF

Output: Store B

IF [Product] == 'Product 4' Then 0 ELSE [Product] ENDIF

Output: Store C

IF [Product] == 'Product 4' Then 0 ELSE [Product] ENDIF

Output: Store D

IF [Product] == 'Product 4' Then 0 ELSE [Product] ENDIF

ProductStore AStore BStore C Store D
Product 110254050
Product 210254050
Product 310254050
Product 4NullNullNullNull
2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @Aviator0807 

 

This can be achieved using multi-filed formula tool.

 

Workflow:

atcodedog05_0-1631549275935.png

 

Hope this helps : )

 

MatthewBr
Alteryx Alumni (Retired)

@atcodedog05  beat me to the punch. This is what multifiled formula is for. 

 

@Aviator0807  - Remember to mark as complete if the solution provided solves your challenge! 

Labels
Top Solution Authors