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.

Arrange the dataset based on column name

Sshasnk
8 - Asteroid

I have a dataset where I have column fund/account/purchase/sell etc is the first line but I have to arrange the values below.

 

Input:

Fund accountamountpurchasesellbuy
ABC12348956258456
NLM1544563145423
BC14556223156489
Fund accountpurchasebuy  
ABC1456789456  
GHL4814556  
Fund accountamountsell  
HLK1546231235  

 

The fund column will always be there while others will keep changing 

 

Output:

 

Fund accountamountpurchasesellbuy
ABC12348956258456
NLM1544563145423
BC14556223156489
ABC1456 789 456
GHL48 145 56
HLK1546231 235 

 

 

6 REPLIES 6
JosephSerpis
17 - Castor
17 - Castor

Hi @Sshasnk if you use a filter that should tackle your challenge.

 

Filter_30112022.JPG

IraWatt
17 - Castor
17 - Castor

Hey @Sshasnk,

You could filter out the rows containing Fund to reach your result:

IraWatt_0-1669815256744.png

definitely check out the getting started learning path on the community it has some great and quick interactive videos which will help you get started with the basic tools in Alteryx: https://community.alteryx.com/t5/Interactive-Lessons/tkb-p/interactive-lessons

 

Any questions or issues please ask

Ira Watt
Technical Consultant
Watt@Bulien.com 

 

Christina_H
14 - Magnetar

You need to separate out your different datasets to be able to line up the figures correctly.  See attached workflow.

Christina_H_0-1669815921271.png

 

DenisZ
11 - Bolide

Please see attached workflow

 

DenisZ_0-1669816574884.png

 

 

 

Sshasnk
8 - Asteroid

@JosephSerpis @IraWatt Please check the output of yours, It is wrong.

Felipe_Ribeir0
16 - Nebula

Hi @Sshasnk 

 

One way of doing this, similar to @DenisZ approach

 

The idea is to use a macro to union the datasets one by one using the column name as reference.

Felipe_Ribeir0_0-1669817075377.png

 

Labels
Top Solution Authors