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

Alteryx Designer Desktop Discussions

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

Multiple Field formula

Ragini1
8 - Asteroid

Hello Everyone,

 

I am trying to find out a solution to check value in multiple fields and if it has any value it will return Yes. I am using Multiple Field formula for that but am getting output as for all the fields which has transaction. Rather than that I want output as if any of the fields has transaction, it will return Yes. Is there any way.

Appreciate your help.

Thanks!!!

2 REPLIES 2
OllieClarke
16 - Nebula
16 - Nebula

If you have a limited number of columns, then you could use a normal formula such as:

 

IF CONTAINS([Field1],'transaction')
OR CONTAINS([Field2],'transaction')
OR CONTAINS([Field3],'transaction')
OR CONTAINS([Field4],'transaction')
THEN TRUE
ELSE FALSE
ENDIF

It could turn into an unwieldy formula though, so you could transpose your data and check that way too 

OllieClarke
16 - Nebula
16 - Nebula

Here's another way of doing it @Ragini1:

OllieClarke_0-1594397675539.png

 

Labels
Top Solution Authors