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?

binuacs
20 - Arcturus

 

@Cherkos12 

 

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

 

Spoiler
binuacs_0-1639401407879.png

 

Labels