Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Transform record to columns

Istwineres
8 - Asteroid

Hi all, I'm looking for a solution to transform records in columns. My desidered output would be a column for each element on code column and group by value's record

 

value    PERF365_ITD_N    Perf_MTD_N  ...... bmk    bmkpef

  xyz        0.380054                 -0.01811             bmk1   -0.00037

 

Many thanks!

6 REPLIES 6
mceleavey
17 - Castor
17 - Castor

Hi @Istwineres ,

 

this is a simple crosstab function:

mceleavey_0-1620294227889.png

 

I've attached the workflow.

 

M.

 



Bulien

Istwineres
8 - Asteroid

May I ask you why Sum as method for Aggregating Values? Thanks!

KarolinaRoza
11 - Bolide

Hi @Istwineres,

 

please find solution for your problem.

 

I applied cross-tab tool together with summary tool to include all your desired columns.

 

Let me know it it is something you look for.

 

Kind Regards,

Karolina

Kurohits
10 - Fireball

Checkout my solution...Easy to follow

mceleavey
17 - Castor
17 - Castor

Hi @Istwineres ,

 

It doesn't matter what the aggregate function is because it will always be aggregated to a single row. You can use any in this regard 🙂

 

M.



Bulien

Istwineres
8 - Asteroid

I didn't know that!

Labels
Top Solution Authors