Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Transpose based on contents of row?

szemken
5 - Atom

Hello !

I aim to transpose the input format table in the attachment to the output format (See screenshot). I am unsure on how to use the 'Action' field as a basis to get the correct timestamps into the correct column. Does anyone have an idea how to transpose this data conditionally?

 

If Action = En Route, place timestamp into En Route Column,

Else if Action = On Site, place timestamp into On Site Column,

Else if Action = WO Complete, place timestamp into WO Complete Column

 

Any ideas?

 

Thank you !

 

2 REPLIES 2
michelle_mathews
Alteryx Alumni (Retired)

Hi @szemken , in this case you'd want to use the Crosstab tool and configure like below: 

 

michelle_mathews_0-1662148753937.png

 

binuacs
20 - Arcturus

@szemken Similar solution to @michelle_mathews 

 

binuacs_1-1662190380745.png

 

Labels