We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun 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
binuacs
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