Alteryx Designer Desktop Discussions

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

How to change columns values to rows ?

vkumarhit
5 - Atom

vkumarhit_0-1674542350920.png

Hi Designers,

Can you provide me the solution to get the name column as Row headers.It should be like 

id,fullname,birthcountry,motivation,year,birthdate

1,wilhelm conrad,Germany,"in recog",1901,null

2 ............................

3...............

13 REPLIES 13
ShankerV
17 - Castor

Hi @vkumarhit 

 

Please find the expected output.

 

ShankerV_0-1674543297977.png

 

 

Note: The workflow used to achieve the solution is attached which can be downloaded to see how the solution works.

 

If you believe your problem has been resolved. Please mark helpful answers as a solution so that future users with the same problem can find them more easily!!!!

 

Many thanks

Shanker V

 

ShankerV
17 - Castor

Hi @vkumarhit 

 

Have checked with little extensive dataset.

 

ShankerV_0-1674543885995.png

 

 

 

ShankerV
17 - Castor

Hi @vkumarhit 

 

If you need to reflect the null() in the output.

 

ShankerV_0-1674544022509.png

 

Added the filter tool to achieve the result.

ShankerV_1-1674544052739.png

 

Many thanks

Shanker V

 

vkumarhit
5 - Atom

And if we want to give first row as header and segment it?

 

ShankerV
17 - Castor

Hi @vkumarhit 

 

As per the input shared, I have used the same as header in the workflow too.

 

ShankerV_0-1674544518707.png

 

Hope it helps!!!!

 

Raj
16 - Nebula

use the dynamic rename tool to make first row as header

ShankerV
17 - Castor

Hi @vkumarhit 

 

Expecting the result like this?

 

ShankerV_0-1674544716223.png

 

vkumarhit
5 - Atom

I just want to separate the columns and group it by id

Raj
16 - Nebula

You need this as solution as guess

Raj_0-1674545238974.png

but you should not use this for exam purpose.

Labels
Top Solution Authors