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 Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

IIF in sql editor

NicolasFabre81
8 - Asteroid

Hello,

In the SQL Editor of the input data tool (oracle database), I manage to make the Switch function run, but not the IIF, is it normal ?

IIF does work in Oracle : https://docs.oracle.com/cd/E57185_01/ESBTR/mdx_iif.html

3 REPLIES 3
JoeS
Alteryx Alumni (Retired)

Are you able to share your example that you used.

 

It should be possible when used as part of your select statement

NicolasFabre81
8 - Asteroid

In fact the problem is that IIF does not exist in Oracle SQL. I should use DECODE instead.

Thableaus
17 - Castor
17 - Castor

Hi @NicolasFabre81 

 

You can use the DECODE function to perform the same thing.

 

Cheers,

Labels
Top Solution Authors