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.

If null statement

Cherkos12
7 - Meteor

This is the type of output i was hoping to get but my formula doesn't seem to produce this. How'd i got about capturing this?

 

CompanyField 1Field 2Output
AAGAGAG
BAE AE
C BCBC
DZY ZY
4 REPLIES 4
mathieuf
Alteryx
Alteryx

Hi @Cherkos12,

 

Try this

 

mathieuf_0-1639133344073.png

 

Cherkos12
7 - Meteor

Thanks. i tried it and didn't work for me.

mathieuf
Alteryx
Alteryx

I have the following output

 

mathieuf_0-1639385024467.png

 

How can I help?

binu_acs
21 - Polaris

 

@Cherkos12 

 

IIF(IsEmpty(Trim([Field 2])),[Field 1],IIF(IsEmpty(Trim([Field 1])),[Field 2],[Field 1]))

 

Spoiler
binuacs_0-1639401407879.png

 

Labels
Top Solution Authors