BookmarkSubscribeRSS Feed
KellyW1117
Calcite | Level 5

Hello everyone,

Sorry to bother those who had seen my post earlier. I have attached my post several days ago and hope to get help.

I still have no idea how to make a matrix-shape table based on the data I have.

Here is the code I used to flag which CCs each ID has. I don't know what the next step is.

PROC TRANSPOSE DATA=idcc

  OUT=WORK.idcc1

  PREFIX=CC

  NAME=Source

  LABEL=Label;

  BY IDs ;

  ID CC;

  VAR HCC;

QUIT;

2 REPLIES 2
Steelers_In_DC
Barite | Level 11

Last things first:  Your title is awesome.  'a table with actual data' made me smile, I did not lol but I did smile.

Second things second.  If you provide the data you have, followed by the outcome you are hoping for you are much more likely to get a helpful answer.

Cheers

KellyW1117
Calcite | Level 5

Hello Mark,

Thanks for the quick reply. I have attached a link which fully explains which tables/results I'm hoping for.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 866 views
  • 1 like
  • 2 in conversation