ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

Multi-Row Formula and Formula Tool

Pranab_C
8 - Asteroid

I have a large dataset that I cannot share here, however I am looking to extract data between these two strings, However there could be multiple instances of the value that I need the extraction to stop at, which means that when I use this formulae it stops at the first instance, what am I doing wrong?

 

"IF Contains([Output], "Form 8938") THEN "START"
ELSEIF
Contains([Output], "36 If asset reported on line 29 is not stock of a foreign entity or an interest in a foreign entity, enter the following information for the asset.")
THEN "END"
ELSE "E"
ENDIF"

 

 

1 REPLY 1
gawa
16 - Nebula
16 - Nebula

Try to review the conditional statements you wrote with Contains() function. I'm not sure how your data looks like, but these statements would only match to a specific record. For example, if you want to make flag "Start" when [Output] is 'Form xxxxxxx' then you can use StartsWith([Output], "Form").

 

Anyway, without seeing your data, my advice cannot be more tangible any more. Sorry about it.

 

Contains([Output], "Form 8938")
Contains([Output], "36 If asset reported on line 29 is not stock of a foreign entity or an interest in a foreign entity, enter the following information for the asset.")

 

Labels
Top Solution Authors