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.
SOLVED

Multi-Row Formula

Neffri
8 - Asteroid

Hi,
I have a question regarding the Multi-Row tool.

 

IDName%Country
1A20US
2B30TW
3C50US
nullnullnullUS
nullnullnullUS

Where I have nulls I want to take row-1.
Do you know if is it possible to do this not one by one(ID, Name,%).
In my real task I have ~8 column so I would like to avoid writing formula for each of them.

 

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @Neffri 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1628585803507.png

 

1. Use transpose to convert columns to rows.

2. Apply mutli-row formula fill with groupby name (column name)

3. Convert it back to table using crosstab using record id as key.

 

Hope this helps : )

mceleavey
17 - Castor
17 - Castor

Hi @Neffri ,

 

I wrote a tool to do this. See attached.

 

Hope this helps,

 

M.



Bulien

Neffri
8 - Asteroid

Thank you !!!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Neffri 

Cheers and have a nice day!

mceleavey
17 - Castor
17 - Castor

Cheers @atcodedog05 for pointing out a minor bug. That tool uses a Crosstab, which of course loses special characters in the column title. I've fixed this now.

 

M.



Bulien

mceleavey
17 - Castor
17 - Castor

no problem.gif



Bulien

Labels
Top Solution Authors