how to shift the rows to cols?
eg:
i have like
field1 field2 field3
10 20 20
this should be displayed as
field1 10
field2 20
field3 30
(without the obs col)
how do this?can i use transpose or tell me suitable way to
do this?
Answer Posted / luclyl
proc transpose data=hyd out=mum (drop=_NAME_);
var a b c;
run;
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What are the data types in sas?
What function CATX syntax does?
how would you create multiple observations from a single observation? : Sas programming
How to create list output for cross-tabulations in proc freq?
how are numeric and character missing values represented internally? : Sas programming
Are you sensitive to code walk-throughs peer review or QC review?
What are the limitations for memory allocation for SAS variables
For what purposes have you used sas macros? : sas-macro
What are the default statistics for means procedure?
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
what is intially documentation in sas?
List down the reasons for choosing sas over other data analytics tools.
Of all your work, where have you been the most successful?
Describe the function and utility of the most difficult SAS macro that you have written?
explain what is factor analysis? : Sas-administrator