Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Combing row 1 of column with another column

wonka1234
10 - Fireball

Hi all,

 

I am trying to combine my two columns into one. However combining row 1 of my column EIR Re-Calc with EIR Re-Calc and append it to the top of that column.

 

wonka1234_0-1654693836000.png

 

So just row 1 of EIR Re-Calc appending to the top of the left column.

 

Is this possible?

 

9 REPLIES 9
IraWatt
17 - Castor
17 - Castor

Hey @wonka1234,

Is the idea to rename the first column with the data from the first row of the second column? Could you give the data in a format which can be copied? 

brolin
Alteryx Alumni (Retired)

Hi @wonka1234,

 

Are you trying append the data from the EIR Re-Calc row 1 into the column header of column 1 or what will essentially be 'row 0'?

 

Just so it's easier to understand what you're looking to achieve, it might be worth mocking up the end goal in Excel using the example in your screenshot and posting it here.

 

Thanks!

CarliE
Alteryx Alumni (Retired)

@wonka1234 

 

Is this what you're looking for?

CarliE_0-1654694892352.png

 

I added a record ID and then transposed the data.

 

If so, please make sure to mark this as a solution to help other members on the community out!

 

Best

Carli
wonka1234
10 - Fireball

Hi all,

 

I want 1 column as the output. 

Take the value from EIR Re-Calc (-46757187.19) and Insert it into row one of EIR Re Calc.

 

So output like

 

EIR Re Calc

-46757187.19

1085437

1070875

 

 

etc

brolin
Alteryx Alumni (Retired)

Hi @wonka1234 , you will need to add a RecordID tool and then use the Formula tool for an IF statement with the following:

 

if [RecordID] = 1 then [EIR Re-Calc] else [EIR Re Calc] endif

 

I've created an example here for you:

brolin_0-1654695564116.png

 

Hope this helps! I can share the workflow file if you'd like too.

wonka1234
10 - Fireball

@brolin Would you share your workbook? 

the problem with this is that it seems to overwrite the first row of EIR Re Calc or 1085437

CarliE
Alteryx Alumni (Retired)

Hi @wonka1234 

 

This should get you there.

 

CarliE_0-1654712508123.png

 

 

Workflow attached.

Carli
IraWatt
17 - Castor
17 - Castor

Is this what you are looking for @wonka1234 ?

IraWatt_0-1654712469448.png

 

brolin
Alteryx Alumni (Retired)

Hi @wonka1234 please find attached.

Labels