Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

combine a field and text

$
0
0

Hello Alteryx fans,

 

I have two very simple questions for you, and I would be grateful for some guidance.

 

I would like to create a formula that references field 1, if this is null, then it returns field 2 & "undefined". However, if field 2 is also null, then it returns null. In Excel I would write this something like this:

=IF(field 2 = 0,(IF(field 1 = 0,"null",field 2 &" undefined")),field 2)

 

First of all, how do I combine a field and text like: field 2 &" undefined"?

 

Secondly, can I do an embedded if statement like this in Alteryx?

 

Perhaps there is a better way to tackle this problem. Any advice gratefully received!

 

Best wishes,

 

Jonathan


Viewing all articles
Browse latest Browse all 4999