In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

help error formula IF

Oumag
6 - Meteoroid

Hello, i need your help. i want to make a formula if but i have an error message. 

 

This is my formula : 

IF [categorie_carriere_indiciaire]="CATEGORIE A"

THEN "Catégorie A"

ELSE IF [categorie_carriere_indiciaire]="CATEGORIE B"

THEN "Catégorie B"

ELSE IF [categorie_carriere_indiciaire] IN ("CATEGORIE C", "CATEGORIE X")

THEN "Catégorie c"

ELSE [categorie_carriere_indiciaire]

ENDIF

 

This is the error message : "error d'analyse au caractère (276) : instruction if incorrectement formée (expression n 1)"

Oumag_0-1647514957936.png

 

 

 

 

 

2 REPLIES 2
binu_acs
21 - Polaris

@Oumag 

IF [categorie_carriere_indiciaire]="CATEGORIE A"
THEN "Catégorie A"
ELSEIF [categorie_carriere_indiciaire]="CATEGORIE B"
THEN "Catégorie B"
ELSEIF [categorie_carriere_indiciaire] IN ("CATEGORIE C", "CATEGORIE X")
THEN "Catégorie c"
ELSE [categorie_carriere_indiciaire]
ENDIF
Oumag
6 - Meteoroid

It's OK thanks a lot !!!

Labels
Top Solution Authors