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 after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

"This" or "Me" function in formula tool.

NRoland
6 - Meteoroid

Hey all,

 

Hopefully a simple question and hopefully I didn't miss an answer somewhere else while searching. 

 

I'm wondering if there is a way to point the formula tool at the field it is changing without actually typing the name in. 

 

Something to the effect of:

IF ISNULL(this)

THEN 0

ELSE this

ENDIF

 

I only ask because I currently have 220 of these statements to set up after a crosstab and if I could just copy-paste the same thing in it would be much quicker. 

3 REPLIES 3
NRoland
6 - Meteoroid

Scratch that just used a multi-field to handle it. I would still be curious if there is such a function though. 

PhilipMannering
16 - Nebula
16 - Nebula

Perhaps the Multifield Tool with Dynamic or Unknown Fields ticked.

The use the expression,

IF ISNULL([_CurrentField_])
THEN 0
ELSE [_CurrentField_]
ENDIF

 

I think this should work. Otherwise you could transpose > apply formula to [Value] field > and then crosstab back again.

 

NRoland
6 - Meteoroid

Oh, I didn't even think to use the dynamic fields for it. My autopilot unchecked that. 

Labels
Top Solution Authors