proc transpose data=have out=want (rename=(_Name_=Letter Col1=Value));
by id group subgroup;
run ;
You can also transpose data with arrays.
The Boston Area SAS Users Group is hosting free webinars! Next up: SAS Trivia Quiz hosted by SAS on Wednesday May 21. Register now at https://www.basug.org/events.
proc transpose data=have out=want (rename=(_Name_=Letter Col1=Value));
by id group subgroup;
run ;
You can also transpose data with arrays.
The Boston Area SAS Users Group is hosting free webinars! Next up: SAS Trivia Quiz hosted by SAS on Wednesday May 21. Register now at https://www.basug.org/events.
Our biggest data and AI event of the year.
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.