Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Transpose Cells

lasribeiro
6 - Meteoroid

Hello everyone,

Since I am a beginner, this is probably a simple question - but I didn´t find any useful results for me.

 

I need to transpose data in a scenario like this:

 

From:

ASOMETHING 1
ASOMETHING 2
ASOMETHING 3
ASOMETHING 4
ASOMETHING 5
BSOMETHING 1
BSOMETHING 2
BSOMETHING 4
CSOMETHING 2
CSOMETHING 5

 

To:

ASOMETHING 1SOMETHING 2SOMETHING 3SOMETHING 4SOMETHING 5
BSOMETHING 1SOMETHING 2SOMETHING 4  
CSOMETHING 2SOMETHING 5   

 

I have tried something with crosstab and transpose but I didn´t get it.

Please, any help would be great!

3 REPLIES 3
hellyars
13 - Pulsar

Use the Cross Tab tool.

hellyars
13 - Pulsar

@lasribeiro 

 

OR try this crude approach...

 

Use a Summarize tool.  Group by Field 1 (A,B,C,D....) and set the other field to Concatenate (under Add -> String -> Concatenate).  Then use a Text to Column fields with the delimiter set to ",".  Finally, use a Select tool to clean things up.

 

 

Screen Shot 2020-02-06 at 2.18.46 PM.pngScreen Shot 2020-02-06 at 2.13.03 PM.png

 

 

lasribeiro
6 - Meteoroid

Thank you!

I made it in another way too:

 

CrossTable.png

Labels