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

Cross Tab / Transpose Question

Mike_at_CG
8 - Asteroid

Hi Alteryx Community

 

Is there a way for Alteryx to stack the below columns next to each other by "store" column.

 

Raw data below

Store Cash Statement Date
Wawa $1,000.003/21/2024
Wawa $2,000.003/22/2024
Sheetz $1,000.003/21/2024
Sheetz $2,000.003/22/2024
Royal $1,000.003/21/2024
Royal $2,000.003/22/2024

 

Hoping to get something to look like the below in order to perform some further calculations.

 

Store Cash Statement DateStore Cash Statement Date
Wawa $1,000.003/21/2024Wawa $2,000.003/22/2024
Sheetz $1,000.003/21/2024Sheetz $2,000.003/22/2024
Royal $1,000.003/21/2024Royal $2,000.003/22/2024

 

Thank you for your time

2 REPLIES 2
aatalai
15 - Aurora

@Mike_at_CG this should work, however that is based on you only having 2 rows per store, you might need a more complicated extension if there are more. hope it helps

peterr_h
8 - Asteroid

As with the above, for 2 rows per store, this is a fairly simple solution.

 

If not, you'll need to create some form of macro (iterative/batch) which does a similar thing in a more dynamic manner!

Labels
Top Solution Authors