This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
General Discussions has some can't miss conversations going on right now! From conversations about automation to sharing your favorite Alteryx memes, there's something for everyone. Make it part of your community routine!
Hi,
I was just wondering if it was possible to have multiple expressions in a multi-field formula.
Currently I have two multi-field formulas chained together, the first to move negatives from the end of a number to the beginning.
IF Right([_CurrentField_],1) = "-"
THEN "-" + LEFT([_CurrentField_],Length([_CurrentField_])-1)
ELSE [_CurrentField_]
ENDIF
and the second to remove commas from with a number.
replace([_CurrentField_],",","")
I would like to put these into a single expression.
Thanks,
Justin
Solved! Go to Solution.
HI @jmarleigh
You can embed one expression into the other, for instance:
REPLACE(
IF Right([_CurrentField_],1) = "-"
THEN "-" + LEFT([_CurrentField_],Length([_CurrentField_])-1)
ELSE [_CurrentField_]
ENDIF
, ",","")