ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

Formula - If Then - Contains Text - Change Fomula in another Column

WICKETT01
5 - Atom

I am trying to apply a change to the "Use Tax Base" Column.  

I want to create a formula stating that if the Balance Column contains "ADJ" then I want to change the value in the Use Tax Base column to a negative amount.  I have tried multiple variations in the formula as this is a reversal in our Use Tax.  Screenshot 2024-01-08 140157.jpg

2 REPLIES 2
apathetichell
20 - Arcturus

formula tool - Use Tax Base is your column

if contains([Balance],"ADJ") then -1*[Use Tax Base] else [Use Tax Base] endif

 

 

WICKETT01
5 - Atom

 Thank you.  I have such tunnel vision with my work it's hard to think outside the box sometimes.  Much appreciated.

Labels
Top Solution Authors