Alteryx Designer Desktop Discussions

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

IF and IF then put X or IF then put X Help!

NicoleMA
7 - Meteor

 

I have issues forming expressions especially If/Then! I've made several iterations of this but here is the last one I made. Can someone help me correct it?

 

 

IF [DMA Name]="Multi" && [Vendor State] = "ME" THEN "Maine" ELSEIF [Vendor State] = "NH" THEN "New Hampshire"
ELSEIF [DMA Name] ENDIF

 

Thanks!

3 REPLIES 3
JohnJPS
15 - Aurora

Hi @NicoleMA

Try changinge the last "ELSEIF" to  a catch-all "ELSE" ...

 

IF [DMA Name]="Multi" && [Vendor State] = "ME" THEN 
  "Maine" 
ELSEIF [Vendor State] = "NH" THEN 
  "New Hampshire"
ELSE
  [DMA Name] 
ENDIF

 

JoeM
Alteryx Alumni (Retired)

Duplicate answer removed.

NicoleMA
7 - Meteor

Thanks!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels