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!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Terminate flow in warning

Anastasio_Theohari
8 - Asteroid

Hello team,

 

I have a csv file and in the middle i found some errors.

 

An example below

 

ID         ITEM      DATE

44933  132         2020-06-13 18:53:59.397

74         701        1900-07-01 00:00:00.000
14.823

596      803         1920-01-01 00:00:00.000

 

The alteryx recognize the error as warning  as 'Not enough fields in record',but it continue to parse the input data in the output with no error.

 

I would like to ask how can i stop the flow and write only the correct data.

 

For example i would like to write the first 2 lines and then finish.

 

Is there any way to stop the flow in the first warning?

 

Thank you

1 REPLY 1
DavidP
17 - Castor
17 - Castor

You can use an if statement with a formula tool to determine the 1st row where data is incomplete, such as:

 

if isnull([ID]) or isnull([ITEM]) or isnull([DATE]) then 'Y' else '' endif

 

You can then use a multirow formula to mark all subsequent rows for removal and filter them out with a filter tool

 

DavidP_0-1587553939432.png

 

Labels
Top Solution Authors