We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Is it best to use Multi Row Formula or Formula for the following task

XIIJAMIEIIX
6 - Meteoroid

Hello, I'm pretty new to Alteryx and I'm trying to do formula that would do the following.

If Family Status is 'Parent' leave blank

If Family Status is 'Child' or 'Parent / Child' take Attached to GUID and compare GUID, if match then return Identifier from same row as GUID and write to the Parent Identifier.

 

Alteryx Image.png

 Would I need to use a Multi Row formula for this or is it best to use a formula?  

 

2 REPLIES 2
ShankerV
17 - Castor

@XIIJAMIEIIX 

 

For your requirement, the best tool will be Formula tool.

 

Note: Formula tool is used when we need to refer the the same row for calculations

Multi-Row formula tool is used when we need to refer the the previous/below row for calculations

ShankerV
17 - Castor

Hi @XIIJAMIEIIX 

 

Output Column = Parent Identifier

 

IF ( [Family Status] = 'Child' Or [Family Status] = 'Parent / Child' ) AND [Attached to GUID] = [GUID]

THEN [Identifier]

ELSE [Parent Identifier]

ENDIF

 

Many thanks

Shanker V

Labels
Top Solution Authors