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

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!

Labels