Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAS Script To Transpose Hierarchy Dataset

Status
Not open for further replies.

jjb373

MIS
Feb 4, 2005
95
US
Please review the below layout for current state and desired state of the data. I am trying to come up with a SAS Script to run to address the need of transposing(creating a cross-tab) a hierarchy dataset.


RAW DATA
IDNumber Group LetterRating
123 Finance A
123 Sales B
123 Ops A
456 Finance C
456 Ops A
789 Finance A
789 Ops B
789 Ops C
789 Ops C
000 Sales B
000 Finance A




DESIRED FORMAT
IDNumber Rating A Rating B Rating C
123 Finance/Ops Sales
456 Ops Finance
789 Finance Ops Ops
000 Finance Sales


-- JJB373 --
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top