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 to transpose and group headers?

EricPhilips
5 - Atom

Hi,

 

I have reached the following stage where for each time stamp and for each machine unit, I have a value for a field detail as shown below:

before conversion.PNG

 

I want to transpose this and group similar field names to show:

 

Time StampUnitGrid Prod. Power Avg.Ambient Temp. Avg.
2014-11-01 00:00:00T0124.96
2014-11-01 00:00:00T0245.46
2014-11-01 00:00:00T0325.47
2014-11-01 00:00:00T0419.3999999999999999
2014-11-01 00:00:00T0542.38
2014-11-01 00:00:00T0673.5999999999999947

 

How do I go about this? Can someone please help?

 

Thanks!

Eric

2 REPLIES 2
ponraj
13 - Pulsar

You can use crosstab tool to get the desired results.  Hope this is helpful. 

 

1. Check following field under Group Data by these values. 

 

i)PCTimeStamp

ii)Unit

2. Make "Field" as New column header 

3. Make "Value" as Values for new columns

4. Check "sum" under Method for Aggregating vaues 

 

EricPhilips
5 - Atom

Thanks a lot. That worked well

Labels