Help using Base SAS procedures

transpose many columns values to one column in vertical way

Reply
Contributor
Posts: 63

transpose many columns values to one column in vertical way

Hello All,

 

need a help to solve below query.

 

I have a dataset have 1 row and 12 column.

and I want my output like below.

please help me how to do it.

 

Source data

 

source.JPG

 

Output data

 

target.JPG

Super User
Posts: 10,474

Re: transpose many columns values to one column in vertical way

On this forum please do not post duplicate posts in multiple areas. If a thread needs to be in a different place we may move it. Duplicate posts have can cause frustration because different people may responde in different areas an you could get the same question in each thread. So you think you have answered a question but not in the current thread.

 

A single thread also makes it easier for people using searches, either within the forum or from external engines like Google, to find an answer. If they find the duplicate that has no or incomplete responses then they may not find the one with the actual solution.

Valued Guide
Posts: 797

Re: transpose many columns values to one column in vertical way

@Ritesh_dellvostro

 

Since your other copy of this request has been solved, why not remove this one, and any other extras?

Ask a Question
Discussion stats
  • 2 replies
  • 157 views
  • 0 likes
  • 3 in conversation