In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula Logic

jenneckelm
5 - Atom

Trying to get a formula written that changes the account code in column L to a specific code based on System Account Column AG, and Line Date Column AC. 

 

If the Journal date (column J) is > than Line Date (column AC) , and System Account (column AG) = FMLI_CO_ER then account should update to 111954. 

 

Thanks in advance for the help! 

 

 

jenneckelm_0-1686235932758.png

 

3 REPLIES 3
alexnajm
19 - Altair
19 - Altair

IF [Journal Date]>[Line Date] AND [System Account] = "FMLI_CO_ER" THEN 111954 ELSE [Account] ENDIF

alexnajm
19 - Altair
19 - Altair

The above assumes the Journal Date and Line Date are stored as Dates, and you want the Account to be numeric - if the account should be a string, you would do: IF [Journal Date]>[Line Date] AND [System Account] = "FMLI_CO_ER" THEN "111954" ELSE [Account] ENDIF

nagakavyasri
12 - Quasar

Screenshot 2023-06-08 134234.png

Labels
Top Solution Authors