Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Rows to Columns (transpose ?)

David_Little
7 - Meteor

Hi all,

 

I feel this is super simple...

 

How to a turn this example dataset:

David_Little_2-1675080790427.png

 

 

Into this:

David_Little_3-1675080826618.png

 

Essentially turning the "quarter" fields into their own columns.

 

Thanks in advance!

6 REPLIES 6
Christina_H
14 - Magnetar

Here's what you need to do:

Christina_H_0-1675082015410.png

Raj
16 - Nebula

You can use this as solution

David_Little
7 - Meteor

Just to add - Some of the amount and target fields may contain null values (in case of any sum issues)

caltang
17 - Castor
17 - Castor

Perhaps you can screenshot or provide the workflow? 

 

If they're null values, use a data cleanse tool to replace them with 0 if they're meant to be 0. Then sum will not be an issue.

 

However, if null values are not meant to be null, then it is better to provide some raw data for the community to work it out with you better.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
David_Little
7 - Meteor

Hey @Christina_H Thanks ! - Is there a way to dynamically rename all of the columns without the underscore ?

Christina_H
14 - Magnetar

@David_Little I almost included that!  Yes, just use a dynamic rename tool, Replace([_CurrentField_],"_"," ")

Labels