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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 633 views
  • 0 likes
  • 3 in conversation