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

Separating column values into rows grouped by ID

jwlam
8 - Asteroid

Hi all,

 

I'm trying to figure out how to get the FOS 1 and Credit values into a single row grouped by User ID. I've been trying Transpose + Crosstab but can't seem to get it.

 

Thanks!

 

Data

User IDFOS 1

Credits for FOS 1

01140Accounting2
01140Taxes4

05518

Accounting2
05518Taxes4
05518Specialized Knowledge4

 

Desired Result

User IDFOS 1

Credits for FOS 1

FOS 2

Credits for FOS 2

FOS 3

Credits for FOS 3

01140Accounting2Taxes 4  
05518Accounting2Taxes 4Specialized Knowledge4
4 REPLIES 4
BU21CSEN0100791
5 - Atom

i also tried but no result.

JosephSerpis
17 - Castor
17 - Castor

Hi @jwlam you will need to clean up your column names in order to achieve the desired results when using the Transpose and Crosstab tool. I have mocked up an approach which showcases one way to do this.

 

Pivot_18102023.JPG

jwlam
8 - Asteroid

Thanks @JosephSerpis! The result was almost perfect. Formula 9 gave different values for the FOS Name column when I used the actual dataset. However, I just manually moved them around to the correct columns in Excel so in the end it worked out.

BU21CSEN0100791
5 - Atom

thanks great work

Labels
Top Solution Authors