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

Alteryx Designer Desktop Discussions

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

I want to filter out the fields having the data length more than 100 and show an error.

Akash01
8 - Asteroid

Hey, 

I need some help to filter out the fields having length more than 100 and show a error message reporting it.

4 REPLIES 4
JordanB
Alteryx
Alteryx

Hi @Akash01

 

Please find a workflow attached which looks at cells in a field which are greater than 100 characters in length.

 

I have used the message tool to create a dynamic error message based on the row and the number of characters in that field

 

Jordan

Akash01
8 - Asteroid

Hi @JordanB

 

Thanks for helping me out, but I wanted a standard workflow which would work for every input file having different field names.

It would be time consuming and tiring to put each of the field names in the "formula tool" and checking the length, if a file would be having more fields.

 

Regards,
Akash

JordanB
Alteryx
Alteryx

Updated workflow avoids hardcoding field headers by transposing the data

 

 

Akash01
8 - Asteroid

Thank you so much @JordanB!

You were a great help. :)

Labels
Top Solution Authors