Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

FindString then replace

acerdell
8 - Asteroid

Hello Alteryx friends,

 

I have been trying to use findstring fuction in formula tool in alteryx based on multifields but could not get it sorted out. 

 

 

IF product code is 9 (regardless of other fields)--status is 9:FAIL

if product brand is empty while product sub category is NOT Empty regardless of the product code--status is 9:FAIL 

Else everything else is PASS

 

Product BrandProduct Sub CatProduct CodeStatus
SananeRX111:Pass
Trrimstt199:Fail
 SEQ66:Fail
karstaor356:Pass
 saf1199:Fail

 

 

3 REPLIES 3
Joe_Mako
12 - Quasar

Are you looking for something like this:

 

IF [Product Code]=9 THEN "9:FAIL"
ELSEIF IsEmpty(Product Brand) AND !IsEmpty([Product Sub Cat]) THEN "9:FAIL"
ELSE ToString([Product Code])+":PASS" ENDIF

 

fomenter
8 - Asteroid

Yes I was looking for something similar.I made it more complicated than it needs to be, at least this will work for me

acerdell
8 - Asteroid

I guess it works for me too with a little change in my format. Thank you for your help

Labels