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

Dyanmically Transpose Year fields from rows into columns

TanvirAhmed
5 - Atom

Hi,

How would I transpose the below dynamically to get years as columns instead of rows (without filtering the years and joining on the common field period etc). I want the years to flow through automatically when there is a new one, instead of adding a filter everytime. Essentially I want it how its displayed in the second screenshot.

Thanks!

 

image (1).png

lol.png

  

3 REPLIES 3
OllieClarke
16 - Nebula
16 - Nebula

Hi @TanvirAhmed you'll want the cross-tab tool for this: check out the example workflow and this blog: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Cross-Tab/ta-p/4368

 

If you post some sample data we can help you with the workflow

 

Ollie

TanvirAhmed
5 - Atom

Hey! Thanks, I've attached an example workflow with some input sample data. 🙂

OllieClarke
16 - Nebula
16 - Nebula

Hey @TanvirAhmed this workflow should get you where you need to be:

OllieClarke_0-1639664932143.png

 

Labels
Top Solution Authors