Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Replacing null with Header

Chauche
7 - Meteor

Hi All,

 

I am using multi-field formula option to replace null values for multiple column as below

"if Isnull ([_CurrentField_]) then "Missing" else [_CurrentField_] endif"

 

Can I tweak the above formula to replace with respective "Header" instead with "Missing". Any help is appreciated.

 

For example, null under "Name" Col is replaced with "Name". Similarly, null under "Address" is replaced with "Address" so on. The data is huge with almost 50k rows.

NameAddressemailphone

Abc

#3, church roadnmy@gmail.comnull
Xyxnullpqr@gmail.com562346352
null6754, House no. A56null262665464
1 REPLY 1
Chauche
7 - Meteor

Please ignore the request. My bad it was very simple. Below worked

 

if Isnull ([_CurrentField_]) then ([_CurrentFieldName_]) else [_CurrentField_] endif

Labels
Top Solution Authors