Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Transposing 2 columns into dynamic rows

vkarthik21
8 - Asteroid

Edited the original question
---
I have two columns in a table - 

state_capital.png

I am trying to convert it into the following table -
state_capital_output.png
I have been trying to use transpose, cross tab and multiple methods but I am not able to get the desired result. Any suggestions?

5 REPLIES 5
Aaron_Harter
11 - Bolide

Hi @vkarthik21,

 

This is a great use case for the concatenate function in the Summarize tool:

1.PNG

carlosteixeira
15 - Aurora
15 - Aurora

Hi @vkarthik21 

this other way...

carlosteixeira2005_0-1589981965496.png

 

Best Regards

 

Carlos Teixeira

 

 

Carlos A Teixeira
vkarthik21
8 - Asteroid

Thanks Alan and Carlos for your reply. I have now edited my original question. Sorry for the confusion. I don't have a concatenated data. I have a file with two columns which I want to transform to rows.

AbhilashR
15 - Aurora
15 - Aurora

Hi @vkarthik21, does the approach in the attached workflow address your ask?

AbhilashR_0-1590019924791.png

If this resolves your query, I request you to accept one of the other two solution submissions that came most close to your original ask.

vkarthik21
8 - Asteroid

Thanks @AbhilashR .I am seeing the true power of tile and recordnum. This is fantastic solution.

Labels