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

General Discussions

Discuss any topics that are not product-specific here.

Help with formula IF statement

ianvosler
5 - Atom

Hello

I am trying to figure out a way to have certain values replaced based on specific criteria but having trouble getting the correct IF statment in the formula tool. The rule to build is to replace the notional market value for any "FT" Inv types with the related unrealized sec GL, while all other Inv types should be unaffected (maintain its current notional market value). for ex. Row 3 needs to show 0 for notional market value and row 2 should maintain the 26,543,258. Thanks.

1 REPLY 1
DataNath
17 - Castor
17 - Castor

Hey @ianvosler, unless I'm missing something it should just be the following (after selecting the notional value field from the dropdown in the Formula configuration in order to overwrite it):

 

IF [INV_TYPE] = 'FT' THEN [UNREALIZED_SEC_GL] ELSE [NOTIONAL_MARKET_VALUE_BASE] ENDIF
Labels
Top Solution Authors