Alteryx Designer Desktop Discussions

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

How to move the column data to the right

Sshasnk
8 - Asteroid

Hi I have a dataset but it is is not align properly because of missing data, now I have to move those columns to the right

 

Example:

Idnameplacequantitypricefruitrow number
456214Alextokyo5.0015.23apple1
456214Raj10.00100.00apple 2
456214Timnew york10.0010.00banana3
456214  25.00125.23banana4
145267EXNickUK5.0020.00apple5
145267EXLuffy5.0060.00apple 6
145267EX  10.0080.00banana7
54123LeoLA5.0010.00apple8
54123  5.0010.00apple9

 

Condition:

1. If you will see row number 2 and 6 the place is missing so to align it correctly I have to move all the columns one to the right

2. If you will look at row number 4 and 9 the alignment is correct So we don't have to do anything

 

Output:

Idnameplacequantitypricefruitrow number
456214Alextokyo5.0015.23apple1
456214Raj 10.00100.00apple2
456214Timnew york10.0010.00banana3
456214  25.00125.23banana4
145267EXNickUK5.0020.00apple5
145267EXLuffy 5.0060.00apple6
145267EX  10.0080.00banana7
54123LeoLA5.0010.00apple8
54123  5.0010.00apple9

 

What will be the best method to push the row to the right

 

6 REPLIES 6
PhilipMannering
16 - Nebula
16 - Nebula

Perhaps not the best solution, but it does work for the sample you provide. See attached,

PhilipMannering_0-1607337332293.png

 

Sshasnk
8 - Asteroid

@PhilipMannering  unfortunately we cant use Python in this project

PhilipMannering
16 - Nebula
16 - Nebula

Before I do it in R, is there something I should know?

Emil_Kos
17 - Castor
17 - Castor

Hi,

 

Do you have this as a csv input? 

If yes could you put an exemple of the data in csv? This issue is easier to connect on the csv level.

Sshasnk
8 - Asteroid

@PhilipMannering we cant use any other language, we have to use alteryx tools only

Sshasnk
8 - Asteroid

@Emil_Kos  added CSV

Labels