Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

How can I change the orientation of a row to a column showing sales in one row

HeadBanger
8 - Asteroid

I need to transform the orientation of my data from displaying sales, units, margin by row into one single row.  Below is example.

 

HeadBanger_1-1605734637048.png

 

Need to look like this 

 

HeadBanger_2-1605735101244.png

 

 

3 REPLIES 3
marcusblackhill
12 - Quasar
12 - Quasar

Hey @HeadBanger !

 

You can use Crosstab tool from the transform group to do that job. 

marcusmontenegro_0-1605735305879.png

 

PhilipMannering
16 - Nebula
16 - Nebula

Hi @HeadBanger 

 

I would do the following,

1. Formula tool to concatenate Name and Target

2. Crosstab tool to get everything in a single row. No need for a group by any fields. Just have the header as your concatenated field and value as Value.

 

P

HeadBanger
8 - Asteroid

Hi Philip,

 

You da man.  Thanks!  This worked.  I was missing that concat part for name and target.  

Labels