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.
RÉSOLU

IF THEN ELSE ENDIF Formula

If [Customer] = "JV Pools & Spas, Inc.  (Bill Direct)" OR "United Aqua Group - JV Pools & Spas, Inc" THEN "Combo2" ELSE "" ENDIF

Trying to create a new column that puts an indicator for specific customers, but it only places the indicator for the first customer.  Any thoughts on how I can get the indicator for both customer names? 
3 RÉPONSES 3
geraldo
Pulsar

@TonyNeari1304 

 

If [Customer] = "JV Pools & Spas, Inc. (Bill Direct)" OR [Customer] = "United Aqua Group - JV Pools & Spas, Inc" THEN "Combo2" ELSE "" ENDIF

apathetichell
Arcturus

hypothetically if yo uhave enough ors to get this to be uweildy - you can bunch them together using an instatement where each term is seperated by a comma.

 

If [Cusotmer] in ("Jv Pools & Spas, Inc. (Bill Direct)","United Aquia Group - JV Pools & Spas, Inc") then "Combo2" else "" endif 

Thank you for the help on this!

Étiquettes
Auteurs des meilleures solutions