Alteryx Designer Desktop Discussions

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

IF AND ELSE THEN statements - learning curve

MaryCann
8 - Asteroid

Hello Alteryx community!  New to SQL here...  Scenario:  some patients are on AntiPsychotic medications as well as non-AntiPsychotic medication.  If a client is on Anti-Psychotic Medication I want the result to be "Client on Antipsychotic Medication" even if only 1 of their 10 medications is an AntiPsychotic...  As well as if they are on no AntiPsychotics, I want it to be "Not on AntiPsychotic Medication"My first formula here works, but, the second one does not...  What do you recommend?

MaryCann_0-1650552792780.png

 

11 REPLIES 11
MaryCann
8 - Asteroid

IT WORKED IT WORKED IT WORKED!!!  THANK YOU THANK YOU THANK YOU!!!!!!!

FloraF
Alteryx
Alteryx

AWESOME!!!!! I am glad to hear Mary.

 

Having Solving from Team Alteryx :)

Labels