Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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