Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Multi-Field to Create new field

aman_goyal
8 - Asteroid

Dear Community,

 

I have multiple columns having numeric (Type- Double) columns, I want to check validity of each column like length, not null etc. Using Formula tool, unable to implement multiple columns like 100 columns.

So used Multi-Field column as below-

aman_goyal_1-1643632223246.png

 

IF Not (IsNull([_CurrentField_])) AND IsNumber([_CurrentField_])
THEN 'Data source value is valid'

ELSEIF IsNull([_CurrentField_])
THEN 'Data Source Value is empty'

ELSEIF Not IsNumber([_CurrentField_])
THEN 'Data source value format is incorrect'

ELSE 'Data source value length is incorrect'
ENDIF

 

 

I am getting error because input columns are numeric and am trying to create string field for output as below:

aman_goyal_0-1643632183646.png

 

 

Is there any way to achieve this, that proper message will display and string columns can generate to check validity of data.

PFA workflow (small implementation) and suggest the solution.

11 REPLIES 11
atcodedog05
22 - Nova
22 - Nova

Hi @aman_goyal 

 

It's working for me also

 

atcodedog05_0-1643645496620.png

 

Hope this helps : )

 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @aman_goyal 

Cheers and have a nice day!

Labels