In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Multi row formula to multiple columns

Inactive User
Not applicable

Hi Everyone,

 

How to apply multi row formula to multi columns in alteryx, find below sample data:

 

A       B       C

10     20     30

.         .         .   

.         .         .

.         .         .

.         .         .

 

If isnull ([A]) then [row-1: A] else [A] endif

 

Can anyone help ?

 

Thanks & Advance !

3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Hi @Inactive User 

 

Transpose the data and use one multirow formula to fill in the blanks, then cross tab back:

 

Luke_C_0-1657723149540.png

 

 

FrederikE
13 - Pulsar

There is no way to do this directly. I would recommend transposing the column, so you get: 

 

Name Value

A      10

A       ... 

A      ....

A

...

B      20

B      ...

...

 

 

Then you can use the multi-row tool and all three columns are included. You just need to specify in the IF-Clause that the Name has to be equal.

PhilipMannering
16 - Nebula
16 - Nebula

Don't really recommend this...but..

 

 

from ayx import Alteryx
Alteryx.write(Alteryx.read('#1').ffill(),1)

 

 

...in the Python Tool should do it.

Labels
Top Solution Authors