Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

Multi Field/Row Function

reginawhelan
8 - Asteroid

Hi, I am working with a flow that requires 18 columns to have the same rules. Is there a formula that could be used with the Multi Field function that would resemble the Multi Row function? The following is the formula that I've been trying and not having any success:

 

IF IsNull([_CurrentField_]) THEN

[Row-1:_CurrentField_]

ELSE [_CurrentField_] ENDIF

6 REPLIES 6
JosephSerpis
17 - Castor
17 - Castor

Hi @reginawhelan the Multi-Field Tool won't have the functionality of the Multi-Row to interact with the rows above and below. I mocked up a workflow that should handle this situation and be dynamic. Let me know what you think? 

atcodedog05
22 - Nova
22 - Nova

Hi @reginawhelan ,

 

There is no option of using Multi - Row formula in Multi Field.

However here is the workaround. Transpose the data use Mutli - Row with column name groupby and crosstab it.

 

Input:

atcodedog05_0-1601923733399.png

Output:

atcodedog05_1-1601923753180.png

 

Workflow:

atcodedog05_2-1601923812277.png

Select columns on which you want to apply the Multi-Row formula in Transpose and Crosstab tool.

 

Hope this helps 🙂

 

If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

reginawhelan
8 - Asteroid

Thank you! The Dynamic Rename function was mixing up the data, is it necessary? If I remove this function I am seeing my expected results. Will issues arise if I remove it? 

atcodedog05
22 - Nova
22 - Nova

Hi @reginawhelan ,

 

Is only used to carry forward the column names. If thats not a issue you can definitely remove it wont affect the data.

reginawhelan
8 - Asteroid

Thank you! Works perfectly then.

atcodedog05
22 - Nova
22 - Nova

I guess mine and @JosephSerpis  was nearly similar expected for few difference 😅

 

Anyways Happy to help 🙂

 

Cheers and happy analyzing 😀

Labels
Top Solution Authors