BookmarkSubscribeRSS Feed
Riteshdell
Quartz | Level 8

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

2 REPLIES 2
ballardw
Super User

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.

mkeintz
PROC Star

@Riteshdell

 

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

--------------------------
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set

Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets

--------------------------

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 766 views
  • 0 likes
  • 3 in conversation