Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Rows to Columns

ftorruella1
6 - Meteoroid

Hi!

 

I need to transform rows to columns (as opposed to columns to rows which you can use transpose). I have a column with each month and another column with the revenue for that month. I need to make the months the column headings and revenue as the data under each.

 

Input:

Entity     Month      Revenue

Store     Jan-19           99

Store     Feb-19          100

Store     Mar-19          109

 

Output:

Entity     Jan-19   Feb-19   Mar-19

Store          99         100        109

 

 
 
2 REPLIES 2
jrgo
14 - Magnetar

Hi @ftorruella1 

 

The Crosstab tools is what you're looking for. Here's an example...

 

image.png

JosephSerpis
17 - Castor
17 - Castor

Hi @ftorruella1 I mocked a workflow that will crosstab your data and give the output your describe without having to manually re-order the months.

 

Crosstab_281019.PNG

Labels
Top Solution Authors