BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.

Hello!

I want to transpose a table that looks like this (some cells are empty but not all)

olgazabelinasas_1-1607584351739.png

AFTER

proc transpose data=WORK.to_enter
out=WORK.to_enter_transposed;
id counterparty_rk;
run;

 

I GET THIS

 

olgazabelinasas_2-1607584383341.png

I get a table without rows 😞
do not understand why.

could you help me solve the problem?

1 ACCEPTED SOLUTION

Accepted Solutions
Shmuel
Garnet | Level 18

Please post:

1) a sample of your data

2) the full log with the code ran and all messages

View solution in original post

2 REPLIES 2
Shmuel
Garnet | Level 18

Please post:

1) a sample of your data

2) the full log with the code ran and all messages

olgazabelinasas
SAS Employee
Hi Shmuel, luckily I managed to solve the problem - I used the parameter VAR 🙂
But thanks for your trying to help!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 467 views
  • 0 likes
  • 2 in conversation