Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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

 

binu_acs
21 - Polaris

@szemken Similar solution to @michelle_mathews 

 

binuacs_1-1662190380745.png

 

Labels
Top Solution Authors